| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор валюты, пример: "b24c7d4a-1e2b-43a7-9c8b-123456789abc" |
| code | String |
|
Yes | ISO код валюты, пример: "USD", "UZS", "EUR" |
| name | String |
|
Yes | Полное название валюты, пример: "Доллар США" или "Узбекский сум" |
| symbol | String |
|
Yes | Символ валюты, пример: "$", "€", "so’m" |
| createdAt | DateTime |
|
Yes | Дата и время создания записи, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи, обновляется автоматически |
| product_prices | ProductPrice[] |
|
Yes | * * Связи с другими таблицами Цены на товары, привязанные к валюте |
| kassas | Kassa[] |
|
Yes | Кассы, работающие в этой валюте |
| payments | Payment[] |
|
Yes | Платежи, совершённые в этой валюте |
| transactions | Transaction[] |
|
Yes | Финансовые транзакции, связанные с валютой |
| sales | Sale[] |
|
Yes | Продажи, проведённые в этой валюте |
| sale_items | SaleItem[] |
|
Yes | Товары, проданные в этой валюте |
| purchases | Purchase[] |
|
Yes | Закупки, проведённые в этой валюте |
| from_transfers | KassaTransfer[] |
|
Yes | Переводы, исходящие из этой валюты |
| to_transfers | KassaTransfer[] |
|
Yes | Переводы, поступающие в эту валюту |
| settings | Settings[] |
|
Yes | Настройки, где указана валюта по умолчанию или используемая |
Find zero or one Currency
// Get one Currency
const currency = await prisma.currency.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyWhereUniqueInput | Yes |
Find first Currency
// Get one Currency
const currency = await prisma.currency.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyWhereInput | No |
| orderBy | CurrencyOrderByWithRelationInput[] | CurrencyOrderByWithRelationInput | No |
| cursor | CurrencyWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | CurrencyScalarFieldEnum | CurrencyScalarFieldEnum[] | No |
Find zero or more Currency
// Get all Currency
const Currency = await prisma.currency.findMany()
// Get first 10 Currency
const Currency = await prisma.currency.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | CurrencyWhereInput | No |
| orderBy | CurrencyOrderByWithRelationInput[] | CurrencyOrderByWithRelationInput | No |
| cursor | CurrencyWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | CurrencyScalarFieldEnum | CurrencyScalarFieldEnum[] | No |
Create one Currency
// Create one Currency
const Currency = await prisma.currency.create({
data: {
// ... data to create a Currency
}
})
| Name | Type | Required |
|---|---|---|
| data | CurrencyCreateInput | CurrencyUncheckedCreateInput | Yes |
Delete one Currency
// Delete one Currency
const Currency = await prisma.currency.delete({
where: {
// ... filter to delete one Currency
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyWhereUniqueInput | Yes |
Update one Currency
// Update one Currency
const currency = await prisma.currency.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | CurrencyUpdateInput | CurrencyUncheckedUpdateInput | Yes |
| where | CurrencyWhereUniqueInput | Yes |
Delete zero or more Currency
// Delete a few Currency
const { count } = await prisma.currency.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyWhereInput | No |
| limit | Int | No |
Update zero or one Currency
const { count } = await prisma.currency.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | CurrencyUpdateManyMutationInput | CurrencyUncheckedUpdateManyInput | Yes |
| where | CurrencyWhereInput | No |
| limit | Int | No |
Create or update one Currency
// Update or create a Currency
const currency = await prisma.currency.upsert({
create: {
// ... data to create a Currency
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Currency we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyWhereUniqueInput | Yes |
| create | CurrencyCreateInput | CurrencyUncheckedCreateInput | Yes |
| update | CurrencyUpdateInput | CurrencyUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | uuid |
| baseCurrency | String |
|
Yes | Валюта, из которой производится конвертация. |
| targetCurrency | String |
|
Yes | Валюта, в которую конвертируется. |
| rate | Decimal |
|
Yes | Курс обмена. Показывает, сколько единиц targetCurrency равны 1 единице baseCurrency. |
| date | DateTime |
|
Yes | Дата и время, на которые установлен этот курс. Обычно хранится для истории. |
Find zero or one CurrencyRate
// Get one CurrencyRate
const currencyRate = await prisma.currencyRate.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyRateWhereUniqueInput | Yes |
Find first CurrencyRate
// Get one CurrencyRate
const currencyRate = await prisma.currencyRate.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyRateWhereInput | No |
| orderBy | CurrencyRateOrderByWithRelationInput[] | CurrencyRateOrderByWithRelationInput | No |
| cursor | CurrencyRateWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | CurrencyRateScalarFieldEnum | CurrencyRateScalarFieldEnum[] | No |
Find zero or more CurrencyRate
// Get all CurrencyRate
const CurrencyRate = await prisma.currencyRate.findMany()
// Get first 10 CurrencyRate
const CurrencyRate = await prisma.currencyRate.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | CurrencyRateWhereInput | No |
| orderBy | CurrencyRateOrderByWithRelationInput[] | CurrencyRateOrderByWithRelationInput | No |
| cursor | CurrencyRateWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | CurrencyRateScalarFieldEnum | CurrencyRateScalarFieldEnum[] | No |
Create one CurrencyRate
// Create one CurrencyRate
const CurrencyRate = await prisma.currencyRate.create({
data: {
// ... data to create a CurrencyRate
}
})
| Name | Type | Required |
|---|---|---|
| data | CurrencyRateCreateInput | CurrencyRateUncheckedCreateInput | Yes |
Delete one CurrencyRate
// Delete one CurrencyRate
const CurrencyRate = await prisma.currencyRate.delete({
where: {
// ... filter to delete one CurrencyRate
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyRateWhereUniqueInput | Yes |
Update one CurrencyRate
// Update one CurrencyRate
const currencyRate = await prisma.currencyRate.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | CurrencyRateUpdateInput | CurrencyRateUncheckedUpdateInput | Yes |
| where | CurrencyRateWhereUniqueInput | Yes |
Delete zero or more CurrencyRate
// Delete a few CurrencyRate
const { count } = await prisma.currencyRate.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyRateWhereInput | No |
| limit | Int | No |
Update zero or one CurrencyRate
const { count } = await prisma.currencyRate.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | CurrencyRateUpdateManyMutationInput | CurrencyRateUncheckedUpdateManyInput | Yes |
| where | CurrencyRateWhereInput | No |
| limit | Int | No |
Create or update one CurrencyRate
// Update or create a CurrencyRate
const currencyRate = await prisma.currencyRate.upsert({
create: {
// ... data to create a CurrencyRate
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the CurrencyRate we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | CurrencyRateWhereUniqueInput | Yes |
| create | CurrencyRateCreateInput | CurrencyRateUncheckedCreateInput | Yes |
| update | CurrencyRateUpdateInput | CurrencyRateUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор организации, пример: "b12a34c5-6d78-9e0f-1234-56789abcdef0" |
| name | String |
|
Yes | Название организации, пример: "ООО TechWorld" или "ИП Абдурахимов М.Ю." |
| address | String? |
|
No | Адрес организации, пример: "г. Ташкент, ул. Амира Темура, 45" |
| phone | String? |
|
No | Уникальный номер телефона организации, пример: "+998901234567" |
| String? |
|
No | Уникальный адрес электронной почты организации, пример: "info@techworld.uz" | |
| org_users | OrganizationUser[] |
|
Yes | * * Связи с другими таблицами Список пользователей, принадлежащих организации |
| customers | OrganizationCustomer[] |
|
Yes | Список клиентов, связанных с организацией |
| createdAt | DateTime |
|
Yes | Дата создания записи, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
| products | Product[] |
|
Yes | Товары, принадлежащие организации |
| product_prices | ProductPrice[] |
|
Yes | Цены товаров в контексте организации |
| product_instances | ProductInstance[] |
|
Yes | Конкретные экземпляры товаров (например, по серийным номерам) |
| kassas | Kassa[] |
|
Yes | Кассы, зарегистрированные в этой организации |
| payments | Payment[] |
|
Yes | Все платежи, проведённые организацией |
| transactions | Transaction[] |
|
Yes | Финансовые транзакции организации |
| sales | Sale[] |
|
Yes | Продажи, совершённые организацией |
| purchases | Purchase[] |
|
Yes | Закупки, выполненные организацией |
| stocks | Stock[] |
|
Yes | Складские остатки и движение товаров |
| kassa_transfers | KassaTransfer[] |
|
Yes | Переводы между кассами организации |
| settings | Settings? |
|
No | Настройки, уникальные для организации (например, валюта по умолчанию) |
| audit_logs | AuditLog[] |
|
Yes | Журнал действий пользователей внутри организации |
| documents | Document[] |
|
Yes | Документы, связанные с организацией (накладные, акты и т.д.) |
Find zero or one Organization
// Get one Organization
const organization = await prisma.organization.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationWhereUniqueInput | Yes |
Find first Organization
// Get one Organization
const organization = await prisma.organization.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationWhereInput | No |
| orderBy | OrganizationOrderByWithRelationInput[] | OrganizationOrderByWithRelationInput | No |
| cursor | OrganizationWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] | No |
Find zero or more Organization
// Get all Organization
const Organization = await prisma.organization.findMany()
// Get first 10 Organization
const Organization = await prisma.organization.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | OrganizationWhereInput | No |
| orderBy | OrganizationOrderByWithRelationInput[] | OrganizationOrderByWithRelationInput | No |
| cursor | OrganizationWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] | No |
Create one Organization
// Create one Organization
const Organization = await prisma.organization.create({
data: {
// ... data to create a Organization
}
})
| Name | Type | Required |
|---|---|---|
| data | OrganizationCreateInput | OrganizationUncheckedCreateInput | Yes |
Delete one Organization
// Delete one Organization
const Organization = await prisma.organization.delete({
where: {
// ... filter to delete one Organization
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationWhereUniqueInput | Yes |
Update one Organization
// Update one Organization
const organization = await prisma.organization.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | OrganizationUpdateInput | OrganizationUncheckedUpdateInput | Yes |
| where | OrganizationWhereUniqueInput | Yes |
Delete zero or more Organization
// Delete a few Organization
const { count } = await prisma.organization.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationWhereInput | No |
| limit | Int | No |
Update zero or one Organization
const { count } = await prisma.organization.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | OrganizationUpdateManyMutationInput | OrganizationUncheckedUpdateManyInput | Yes |
| where | OrganizationWhereInput | No |
| limit | Int | No |
Create or update one Organization
// Update or create a Organization
const organization = await prisma.organization.upsert({
create: {
// ... data to create a Organization
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Organization we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationWhereUniqueInput | Yes |
| create | OrganizationCreateInput | OrganizationUncheckedCreateInput | Yes |
| update | OrganizationUpdateInput | OrganizationUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор пользователя, пример: "d34f56a7-8b90-4e12-9cde-001122334455" |
| String? |
|
No | Уникальный email пользователя для входа, пример: "user@example.com" | |
| password | String |
|
Yes | Хэшированный пароль пользователя, пример (не хранится в открытом виде): "$2b$10$abcd..." |
| isActive | Boolean |
|
Yes | Статус активности пользователя: true — активен, false — заблокирован |
| profile | UserProfile? |
|
No | Профиль пользователя с дополнительной информацией (имя, фото и т.д.) |
| createdAt | DateTime |
|
Yes | Дата и время создания пользователя, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления данных пользователя |
| role | Role? |
|
No | * * Роль пользователя Роль пользователя в системе, например: администратор, кассир |
| roleId | String? |
|
No | Идентификатор роли, пример: "a1b2c3d4-e5f6-7890-1234-56789abcdef0" |
| org_links | OrganizationUser[] |
|
Yes | * * Связи с другими таблицами Связь пользователя с организациями (через промежуточную таблицу) |
| cutomer_links | OrganizationCustomer[] |
|
Yes | Связь пользователя с клиентами организации (если он назначен как контактное лицо) |
| payments | Payment[] |
|
Yes | Платежи, проведённые пользователем |
| sales | Sale[] |
|
Yes | Продажи, оформленные пользователем |
| purchases | Purchase[] |
|
Yes | Закупки, оформленные пользователем |
| phone_numbers | UserPhone[] |
|
Yes | Дополнительные номера телефонов пользователя |
| audit_logs | AuditLog[] |
|
Yes | Лог действий пользователя в системе (например, авторизация, редактирование данных) |
| documents | Document[] |
|
Yes | Документы, созданные или загруженные пользователем |
| installment_payments | InstallmentPayment[] |
|
Yes | Платежи по рассрочке, проведённые пользователем |
Find zero or one User
// Get one User
const user = await prisma.user.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | UserWhereUniqueInput | Yes |
Find first User
// Get one User
const user = await prisma.user.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | UserWhereInput | No |
| orderBy | UserOrderByWithRelationInput[] | UserOrderByWithRelationInput | No |
| cursor | UserWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | UserScalarFieldEnum | UserScalarFieldEnum[] | No |
Find zero or more User
// Get all User
const User = await prisma.user.findMany()
// Get first 10 User
const User = await prisma.user.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | UserWhereInput | No |
| orderBy | UserOrderByWithRelationInput[] | UserOrderByWithRelationInput | No |
| cursor | UserWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | UserScalarFieldEnum | UserScalarFieldEnum[] | No |
Create one User
// Create one User
const User = await prisma.user.create({
data: {
// ... data to create a User
}
})
| Name | Type | Required |
|---|---|---|
| data | UserCreateInput | UserUncheckedCreateInput | Yes |
Delete one User
// Delete one User
const User = await prisma.user.delete({
where: {
// ... filter to delete one User
}
})
| Name | Type | Required |
|---|---|---|
| where | UserWhereUniqueInput | Yes |
Update one User
// Update one User
const user = await prisma.user.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | UserUpdateInput | UserUncheckedUpdateInput | Yes |
| where | UserWhereUniqueInput | Yes |
Delete zero or more User
// Delete a few User
const { count } = await prisma.user.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | UserWhereInput | No |
| limit | Int | No |
Update zero or one User
const { count } = await prisma.user.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | UserUpdateManyMutationInput | UserUncheckedUpdateManyInput | Yes |
| where | UserWhereInput | No |
| limit | Int | No |
Create or update one User
// Update or create a User
const user = await prisma.user.upsert({
create: {
// ... data to create a User
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the User we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | UserWhereUniqueInput | Yes |
| create | UserCreateInput | UserUncheckedCreateInput | Yes |
| update | UserUpdateInput | UserUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор профиля, пример: "c45d67e8-9f01-4a23-8bcd-001122334455" |
| userId | String |
|
Yes | Идентификатор пользователя, к которому относится профиль, пример: "d34f56a7-8b90-4e12-9cde-001122334455" |
| firstName | String |
|
Yes | Имя пользователя, пример: "Мухаммад Юсуф" |
| lastName | String |
|
Yes | Фамилия пользователя, пример: "Абдурахимов" |
| patronymic | String? |
|
No | Отчество (необязательно), пример: "Юсуфович" |
| dateOfBirth | DateTime? |
|
No | Дата рождения пользователя, пример: "2003-05-14T00:00:00Z" |
| gender | Gender |
|
Yes | Пол пользователя, пример: MALE, FEMALE, OTHER |
| passportSeries | String? |
|
No | Серия паспорта, пример: "AA1234567" |
| passportNumber | String? |
|
No | Номер паспорта, пример: "12345671234567" |
| issuedBy | String? |
|
No | Орган, выдавший паспорт, пример: "ОВИР Мирободского района" |
| issuedDate | DateTime? |
|
No | Дата выдачи паспорта, пример: "2020-06-10T00:00:00Z" |
| expiryDate | DateTime? |
|
No | Дата окончания действия паспорта, пример: "2030-06-10T00:00:00Z" |
| country | String? |
|
No | Страна проживания, пример: "Узбекистан" |
| region | String? |
|
No | Область, пример: "Ташкентская область" |
| city | String? |
|
No | Город, пример: "Ташкент" |
| address | String? |
|
No | Адрес проживания, пример: "ул. Амира Темура, дом 45" |
| registration | String? |
|
No | Адрес прописки, пример: "г. Ташкент, Шайхонтохурский район" |
| district | String? |
|
No | Район (hudud), пример: "Мирзо-Улугбекский район" |
| user | User |
|
Yes | Связь с пользователем, которому принадлежит профиль |
Find zero or one UserProfile
// Get one UserProfile
const userProfile = await prisma.userProfile.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | UserProfileWhereUniqueInput | Yes |
Find first UserProfile
// Get one UserProfile
const userProfile = await prisma.userProfile.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | UserProfileWhereInput | No |
| orderBy | UserProfileOrderByWithRelationInput[] | UserProfileOrderByWithRelationInput | No |
| cursor | UserProfileWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | UserProfileScalarFieldEnum | UserProfileScalarFieldEnum[] | No |
Find zero or more UserProfile
// Get all UserProfile
const UserProfile = await prisma.userProfile.findMany()
// Get first 10 UserProfile
const UserProfile = await prisma.userProfile.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | UserProfileWhereInput | No |
| orderBy | UserProfileOrderByWithRelationInput[] | UserProfileOrderByWithRelationInput | No |
| cursor | UserProfileWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | UserProfileScalarFieldEnum | UserProfileScalarFieldEnum[] | No |
Create one UserProfile
// Create one UserProfile
const UserProfile = await prisma.userProfile.create({
data: {
// ... data to create a UserProfile
}
})
| Name | Type | Required |
|---|---|---|
| data | UserProfileCreateInput | UserProfileUncheckedCreateInput | Yes |
Delete one UserProfile
// Delete one UserProfile
const UserProfile = await prisma.userProfile.delete({
where: {
// ... filter to delete one UserProfile
}
})
| Name | Type | Required |
|---|---|---|
| where | UserProfileWhereUniqueInput | Yes |
Update one UserProfile
// Update one UserProfile
const userProfile = await prisma.userProfile.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | UserProfileUpdateInput | UserProfileUncheckedUpdateInput | Yes |
| where | UserProfileWhereUniqueInput | Yes |
Delete zero or more UserProfile
// Delete a few UserProfile
const { count } = await prisma.userProfile.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | UserProfileWhereInput | No |
| limit | Int | No |
Update zero or one UserProfile
const { count } = await prisma.userProfile.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | UserProfileUpdateManyMutationInput | UserProfileUncheckedUpdateManyInput | Yes |
| where | UserProfileWhereInput | No |
| limit | Int | No |
Create or update one UserProfile
// Update or create a UserProfile
const userProfile = await prisma.userProfile.upsert({
create: {
// ... data to create a UserProfile
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the UserProfile we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | UserProfileWhereUniqueInput | Yes |
| create | UserProfileCreateInput | UserProfileUncheckedCreateInput | Yes |
| update | UserProfileUpdateInput | UserProfileUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор роли, пример: "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d" |
| name | String |
|
Yes | Название роли, пример: "ADMIN", "MANAGER", "CASHIER" |
| description | String? |
|
No | Описание роли, пример: "Роль с полным доступом к системе" |
| users | User[] |
|
Yes | Пользователи, которым назначена эта роль |
Find zero or one Role
// Get one Role
const role = await prisma.role.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | RoleWhereUniqueInput | Yes |
Find first Role
// Get one Role
const role = await prisma.role.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | RoleWhereInput | No |
| orderBy | RoleOrderByWithRelationInput[] | RoleOrderByWithRelationInput | No |
| cursor | RoleWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | RoleScalarFieldEnum | RoleScalarFieldEnum[] | No |
Find zero or more Role
// Get all Role
const Role = await prisma.role.findMany()
// Get first 10 Role
const Role = await prisma.role.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | RoleWhereInput | No |
| orderBy | RoleOrderByWithRelationInput[] | RoleOrderByWithRelationInput | No |
| cursor | RoleWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | RoleScalarFieldEnum | RoleScalarFieldEnum[] | No |
Create one Role
// Create one Role
const Role = await prisma.role.create({
data: {
// ... data to create a Role
}
})
| Name | Type | Required |
|---|---|---|
| data | RoleCreateInput | RoleUncheckedCreateInput | Yes |
Delete one Role
// Delete one Role
const Role = await prisma.role.delete({
where: {
// ... filter to delete one Role
}
})
| Name | Type | Required |
|---|---|---|
| where | RoleWhereUniqueInput | Yes |
Update one Role
// Update one Role
const role = await prisma.role.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | RoleUpdateInput | RoleUncheckedUpdateInput | Yes |
| where | RoleWhereUniqueInput | Yes |
Delete zero or more Role
// Delete a few Role
const { count } = await prisma.role.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | RoleWhereInput | No |
| limit | Int | No |
Update zero or one Role
const { count } = await prisma.role.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | RoleUpdateManyMutationInput | RoleUncheckedUpdateManyInput | Yes |
| where | RoleWhereInput | No |
| limit | Int | No |
Create or update one Role
// Update or create a Role
const role = await prisma.role.upsert({
create: {
// ... data to create a Role
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Role we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | RoleWhereUniqueInput | Yes |
| create | RoleCreateInput | RoleUncheckedCreateInput | Yes |
| update | RoleUpdateInput | RoleUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор записи, пример: "e56f78a9-bc01-4d23-9def-001122334455" |
| userId | String |
|
Yes | Идентификатор пользователя, которому принадлежит номер, пример: "d34f56a7-8b90-4e12-9cde-001122334455" |
| phone | String |
|
Yes | Уникальный номер телефона пользователя, пример: "+998901234567" |
| note | String? |
|
No | Примечание к номеру, пример: "рабочий", "личный", "дополнительный" |
| isPrimary | Boolean |
|
Yes | Отметка, является ли номер основным. Пример: true — основной, false — дополнительный |
| user | User |
|
Yes | Связь с пользователем, которому принадлежит телефон |
| createdAt | DateTime |
|
Yes | Дата добавления номера, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
Find zero or one UserPhone
// Get one UserPhone
const userPhone = await prisma.userPhone.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | UserPhoneWhereUniqueInput | Yes |
Find first UserPhone
// Get one UserPhone
const userPhone = await prisma.userPhone.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | UserPhoneWhereInput | No |
| orderBy | UserPhoneOrderByWithRelationInput[] | UserPhoneOrderByWithRelationInput | No |
| cursor | UserPhoneWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | UserPhoneScalarFieldEnum | UserPhoneScalarFieldEnum[] | No |
Find zero or more UserPhone
// Get all UserPhone
const UserPhone = await prisma.userPhone.findMany()
// Get first 10 UserPhone
const UserPhone = await prisma.userPhone.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | UserPhoneWhereInput | No |
| orderBy | UserPhoneOrderByWithRelationInput[] | UserPhoneOrderByWithRelationInput | No |
| cursor | UserPhoneWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | UserPhoneScalarFieldEnum | UserPhoneScalarFieldEnum[] | No |
Create one UserPhone
// Create one UserPhone
const UserPhone = await prisma.userPhone.create({
data: {
// ... data to create a UserPhone
}
})
| Name | Type | Required |
|---|---|---|
| data | UserPhoneCreateInput | UserPhoneUncheckedCreateInput | Yes |
Delete one UserPhone
// Delete one UserPhone
const UserPhone = await prisma.userPhone.delete({
where: {
// ... filter to delete one UserPhone
}
})
| Name | Type | Required |
|---|---|---|
| where | UserPhoneWhereUniqueInput | Yes |
Update one UserPhone
// Update one UserPhone
const userPhone = await prisma.userPhone.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | UserPhoneUpdateInput | UserPhoneUncheckedUpdateInput | Yes |
| where | UserPhoneWhereUniqueInput | Yes |
Delete zero or more UserPhone
// Delete a few UserPhone
const { count } = await prisma.userPhone.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | UserPhoneWhereInput | No |
| limit | Int | No |
Update zero or one UserPhone
const { count } = await prisma.userPhone.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | UserPhoneUpdateManyMutationInput | UserPhoneUncheckedUpdateManyInput | Yes |
| where | UserPhoneWhereInput | No |
| limit | Int | No |
Create or update one UserPhone
// Update or create a UserPhone
const userPhone = await prisma.userPhone.upsert({
create: {
// ... data to create a UserPhone
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the UserPhone we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | UserPhoneWhereUniqueInput | Yes |
| create | UserPhoneCreateInput | UserPhoneUncheckedCreateInput | Yes |
| update | UserPhoneUpdateInput | UserPhoneUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор записи, пример: "a12b34c5-d67e-890f-1234-56789abcdef0" |
| organizationId | String |
|
Yes | Идентификатор организации, пример: "b24c7d4a-1e2b-43a7-9c8b-123456789abc" |
| userId | String |
|
Yes | Идентификатор пользователя, связанного с организацией, пример: "d34f56a7-8b90-4e12-9cde-001122334455" |
| role | OrgUserRole |
|
Yes | Роль пользователя внутри организации, пример: ADMIN, MANAGER, CASHIER |
| position | String? |
|
No | Должность или звание пользователя, пример: "Главный бухгалтер" или "Кассир" |
| organization | Organization |
|
Yes | Связь с таблицей организаций |
| user | User |
|
Yes | Связь с таблицей пользователей |
| createdAt | DateTime |
|
Yes | Дата добавления связи, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего изменения данных связи |
Find zero or one OrganizationUser
// Get one OrganizationUser
const organizationUser = await prisma.organizationUser.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationUserWhereUniqueInput | Yes |
Find first OrganizationUser
// Get one OrganizationUser
const organizationUser = await prisma.organizationUser.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationUserWhereInput | No |
| orderBy | OrganizationUserOrderByWithRelationInput[] | OrganizationUserOrderByWithRelationInput | No |
| cursor | OrganizationUserWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | OrganizationUserScalarFieldEnum | OrganizationUserScalarFieldEnum[] | No |
Find zero or more OrganizationUser
// Get all OrganizationUser
const OrganizationUser = await prisma.organizationUser.findMany()
// Get first 10 OrganizationUser
const OrganizationUser = await prisma.organizationUser.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | OrganizationUserWhereInput | No |
| orderBy | OrganizationUserOrderByWithRelationInput[] | OrganizationUserOrderByWithRelationInput | No |
| cursor | OrganizationUserWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | OrganizationUserScalarFieldEnum | OrganizationUserScalarFieldEnum[] | No |
Create one OrganizationUser
// Create one OrganizationUser
const OrganizationUser = await prisma.organizationUser.create({
data: {
// ... data to create a OrganizationUser
}
})
| Name | Type | Required |
|---|---|---|
| data | OrganizationUserCreateInput | OrganizationUserUncheckedCreateInput | Yes |
Delete one OrganizationUser
// Delete one OrganizationUser
const OrganizationUser = await prisma.organizationUser.delete({
where: {
// ... filter to delete one OrganizationUser
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationUserWhereUniqueInput | Yes |
Update one OrganizationUser
// Update one OrganizationUser
const organizationUser = await prisma.organizationUser.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | OrganizationUserUpdateInput | OrganizationUserUncheckedUpdateInput | Yes |
| where | OrganizationUserWhereUniqueInput | Yes |
Delete zero or more OrganizationUser
// Delete a few OrganizationUser
const { count } = await prisma.organizationUser.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationUserWhereInput | No |
| limit | Int | No |
Update zero or one OrganizationUser
const { count } = await prisma.organizationUser.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | OrganizationUserUpdateManyMutationInput | OrganizationUserUncheckedUpdateManyInput | Yes |
| where | OrganizationUserWhereInput | No |
| limit | Int | No |
Create or update one OrganizationUser
// Update or create a OrganizationUser
const organizationUser = await prisma.organizationUser.upsert({
create: {
// ... data to create a OrganizationUser
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the OrganizationUser we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationUserWhereUniqueInput | Yes |
| create | OrganizationUserCreateInput | OrganizationUserUncheckedCreateInput | Yes |
| update | OrganizationUserUpdateInput | OrganizationUserUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор клиента, пример: "c56d78a9-bc01-4e23-9def-001122334455" |
| organizationId | String |
|
Yes | Идентификатор организации, к которой принадлежит клиент, пример: "b24c7d4a-1e2b-43a7-9c8b-123456789abc" |
| userId | String? |
|
No | Идентификатор пользователя, если клиент зарегистрирован в системе, пример: "d34f56a7-8b90-4e12-9cde-001122334455" |
| firstName | String |
|
Yes | Имя пользователя, пример: "Мухаммад Юсуф" |
| lastName | String |
|
Yes | Фамилия пользователя, пример: "Абдурахимов" |
| patronymic | String? |
|
No | Отчество (необязательно), пример: "Юсуфович" |
| phone | String |
|
Yes | Контактный номер клиента, пример: "+998901112233" |
| type | CustomerType |
|
Yes | Тип клиента: пример: CLIENT SUPPLIER |
| isBlacklisted | Boolean |
|
Yes | Отметка, внесён ли клиент в "чёрный список". Пример: true — заблокирован, false — активен |
| createdAt | DateTime |
|
Yes | Дата добавления связи, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего изменения данных связи |
| organization | Organization |
|
Yes | * * Связи с другими таблицами Организация, к которой относится клиент |
| user | User? |
|
No | Пользователь, если клиент зарегистрирован в системе |
| product_instances | ProductInstance[] |
|
Yes | Список экземпляров товаров, связанных с клиентом (например, проданных устройств) |
| payments | Payment[] |
|
Yes | Платежи, совершённые клиентом |
| transactions | Transaction[] |
|
Yes | Финансовые операции, связанные с клиентом |
| sales | Sale[] |
|
Yes | Продажи, проведённые клиенту |
| purchases | Purchase[] |
|
Yes | Закупки клиента, если он также поставщик |
| installments | Installment[] |
|
Yes | Рассрочки, оформленные клиентом |
| documents | Document[] |
|
Yes | Документы, связанные с клиентом (договоры, акты, счета и т.д.) |
Find zero or one OrganizationCustomer
// Get one OrganizationCustomer
const organizationCustomer = await prisma.organizationCustomer.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | Yes |
Find first OrganizationCustomer
// Get one OrganizationCustomer
const organizationCustomer = await prisma.organizationCustomer.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| orderBy | OrganizationCustomerOrderByWithRelationInput[] | OrganizationCustomerOrderByWithRelationInput | No |
| cursor | OrganizationCustomerWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | OrganizationCustomerScalarFieldEnum | OrganizationCustomerScalarFieldEnum[] | No |
Find zero or more OrganizationCustomer
// Get all OrganizationCustomer
const OrganizationCustomer = await prisma.organizationCustomer.findMany()
// Get first 10 OrganizationCustomer
const OrganizationCustomer = await prisma.organizationCustomer.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| orderBy | OrganizationCustomerOrderByWithRelationInput[] | OrganizationCustomerOrderByWithRelationInput | No |
| cursor | OrganizationCustomerWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | OrganizationCustomerScalarFieldEnum | OrganizationCustomerScalarFieldEnum[] | No |
Create one OrganizationCustomer
// Create one OrganizationCustomer
const OrganizationCustomer = await prisma.organizationCustomer.create({
data: {
// ... data to create a OrganizationCustomer
}
})
| Name | Type | Required |
|---|---|---|
| data | OrganizationCustomerCreateInput | OrganizationCustomerUncheckedCreateInput | Yes |
Delete one OrganizationCustomer
// Delete one OrganizationCustomer
const OrganizationCustomer = await prisma.organizationCustomer.delete({
where: {
// ... filter to delete one OrganizationCustomer
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | Yes |
Update one OrganizationCustomer
// Update one OrganizationCustomer
const organizationCustomer = await prisma.organizationCustomer.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | OrganizationCustomerUpdateInput | OrganizationCustomerUncheckedUpdateInput | Yes |
| where | OrganizationCustomerWhereUniqueInput | Yes |
Delete zero or more OrganizationCustomer
// Delete a few OrganizationCustomer
const { count } = await prisma.organizationCustomer.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| limit | Int | No |
Update zero or one OrganizationCustomer
const { count } = await prisma.organizationCustomer.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | OrganizationCustomerUpdateManyMutationInput | OrganizationCustomerUncheckedUpdateManyInput | Yes |
| where | OrganizationCustomerWhereInput | No |
| limit | Int | No |
Create or update one OrganizationCustomer
// Update or create a OrganizationCustomer
const organizationCustomer = await prisma.organizationCustomer.upsert({
create: {
// ... data to create a OrganizationCustomer
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the OrganizationCustomer we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | Yes |
| create | OrganizationCustomerCreateInput | OrganizationCustomerUncheckedCreateInput | Yes |
| update | OrganizationCustomerUpdateInput | OrganizationCustomerUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор бренда, пример: "a12b34c5-d67e-890f-1234-56789abcdef0" |
| name | String |
|
Yes | Уникальное название бренда, пример: "Samsung", "Apple", "Xiaomi" |
| products | Product[] |
|
Yes | Список товаров, принадлежащих этому бренду |
| createdAt | DateTime |
|
Yes | Дата создания записи, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
Find zero or one Brand
// Get one Brand
const brand = await prisma.brand.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | BrandWhereUniqueInput | Yes |
Find first Brand
// Get one Brand
const brand = await prisma.brand.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | BrandWhereInput | No |
| orderBy | BrandOrderByWithRelationInput[] | BrandOrderByWithRelationInput | No |
| cursor | BrandWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | BrandScalarFieldEnum | BrandScalarFieldEnum[] | No |
Find zero or more Brand
// Get all Brand
const Brand = await prisma.brand.findMany()
// Get first 10 Brand
const Brand = await prisma.brand.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | BrandWhereInput | No |
| orderBy | BrandOrderByWithRelationInput[] | BrandOrderByWithRelationInput | No |
| cursor | BrandWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | BrandScalarFieldEnum | BrandScalarFieldEnum[] | No |
Create one Brand
// Create one Brand
const Brand = await prisma.brand.create({
data: {
// ... data to create a Brand
}
})
| Name | Type | Required |
|---|---|---|
| data | BrandCreateInput | BrandUncheckedCreateInput | Yes |
Delete one Brand
// Delete one Brand
const Brand = await prisma.brand.delete({
where: {
// ... filter to delete one Brand
}
})
| Name | Type | Required |
|---|---|---|
| where | BrandWhereUniqueInput | Yes |
Update one Brand
// Update one Brand
const brand = await prisma.brand.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | BrandUpdateInput | BrandUncheckedUpdateInput | Yes |
| where | BrandWhereUniqueInput | Yes |
Delete zero or more Brand
// Delete a few Brand
const { count } = await prisma.brand.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | BrandWhereInput | No |
| limit | Int | No |
Update zero or one Brand
const { count } = await prisma.brand.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | BrandUpdateManyMutationInput | BrandUncheckedUpdateManyInput | Yes |
| where | BrandWhereInput | No |
| limit | Int | No |
Create or update one Brand
// Update or create a Brand
const brand = await prisma.brand.upsert({
create: {
// ... data to create a Brand
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Brand we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | BrandWhereUniqueInput | Yes |
| create | BrandCreateInput | BrandUncheckedCreateInput | Yes |
| update | BrandUpdateInput | BrandUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор товара, пример: "b123c456-d789-4ef0-9123-4567abcde890" |
| organizationId | String |
|
Yes | ID организации, которой принадлежит товар |
| name | String |
|
Yes | Название товара, пример: "iPhone 15 Pro" |
| description | String? |
|
No | Описание товара, пример: "Смартфон с 256 ГБ памяти" |
| expiry_date | DateTime? |
|
No | Дата истечения срока годности, если применимо |
| serial_number | String? |
|
No | Уникальный серийный номер, пример: "SN1234567890" |
| barcode | String? |
|
No | Уникальный штрихкод, пример: "4789651234789" |
| brandId | String? |
|
No | ID бренда товара, если указан |
| organization | Organization |
|
Yes | Связь с организацией, которой принадлежит товар |
| brand | Brand? |
|
No | Связь с брендом, например "Apple" или "Samsung" |
| categories | ProductCategory[] |
|
Yes | Категории, к которым принадлежит товар (многие-ко-многим) |
| prices | ProductPrice[] |
|
Yes | Цены товара в разных валютах или магазинах |
| instances | ProductInstance[] |
|
Yes | Конкретные экземпляры товара (например, разные устройства с уникальными серийными номерами) |
| createdAt | DateTime |
|
Yes | Дата создания записи, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
| sele_items | SaleItem[] |
|
Yes | Продажи, в которых участвовал данный товар |
| purchase_items | PurchaseItem[] |
|
Yes | Закупки, связанные с этим товаром |
| stocks | Stock[] |
|
Yes | Остатки товара на складе |
| product_batches | ProductBatch[] |
|
Yes | Партии товара, например для учёта сроков годности |
Find zero or one Product
// Get one Product
const product = await prisma.product.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductWhereUniqueInput | Yes |
Find first Product
// Get one Product
const product = await prisma.product.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductWhereInput | No |
| orderBy | ProductOrderByWithRelationInput[] | ProductOrderByWithRelationInput | No |
| cursor | ProductWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductScalarFieldEnum | ProductScalarFieldEnum[] | No |
Find zero or more Product
// Get all Product
const Product = await prisma.product.findMany()
// Get first 10 Product
const Product = await prisma.product.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | ProductWhereInput | No |
| orderBy | ProductOrderByWithRelationInput[] | ProductOrderByWithRelationInput | No |
| cursor | ProductWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductScalarFieldEnum | ProductScalarFieldEnum[] | No |
Create one Product
// Create one Product
const Product = await prisma.product.create({
data: {
// ... data to create a Product
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductCreateInput | ProductUncheckedCreateInput | Yes |
Delete one Product
// Delete one Product
const Product = await prisma.product.delete({
where: {
// ... filter to delete one Product
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductWhereUniqueInput | Yes |
Update one Product
// Update one Product
const product = await prisma.product.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductUpdateInput | ProductUncheckedUpdateInput | Yes |
| where | ProductWhereUniqueInput | Yes |
Delete zero or more Product
// Delete a few Product
const { count } = await prisma.product.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductWhereInput | No |
| limit | Int | No |
Update zero or one Product
const { count } = await prisma.product.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductUpdateManyMutationInput | ProductUncheckedUpdateManyInput | Yes |
| where | ProductWhereInput | No |
| limit | Int | No |
Create or update one Product
// Update or create a Product
const product = await prisma.product.upsert({
create: {
// ... data to create a Product
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Product we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductWhereUniqueInput | Yes |
| create | ProductCreateInput | ProductUncheckedCreateInput | Yes |
| update | ProductUpdateInput | ProductUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор категории, пример: "d3b6a4f1-90c7-4e1e-9d8e-64f3b1a0a2d3" |
| name | String |
|
Yes | Название категории, должно быть уникальным, пример: "Смартфоны" |
| products | ProductCategory[] |
|
Yes | Связь многие-ко-многим с товарами через промежуточную таблицу ProductCategory |
| createdAt | DateTime |
|
Yes | Дата создания записи, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
Find zero or one Category
// Get one Category
const category = await prisma.category.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | CategoryWhereUniqueInput | Yes |
Find first Category
// Get one Category
const category = await prisma.category.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | CategoryWhereInput | No |
| orderBy | CategoryOrderByWithRelationInput[] | CategoryOrderByWithRelationInput | No |
| cursor | CategoryWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | CategoryScalarFieldEnum | CategoryScalarFieldEnum[] | No |
Find zero or more Category
// Get all Category
const Category = await prisma.category.findMany()
// Get first 10 Category
const Category = await prisma.category.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | CategoryWhereInput | No |
| orderBy | CategoryOrderByWithRelationInput[] | CategoryOrderByWithRelationInput | No |
| cursor | CategoryWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | CategoryScalarFieldEnum | CategoryScalarFieldEnum[] | No |
Create one Category
// Create one Category
const Category = await prisma.category.create({
data: {
// ... data to create a Category
}
})
| Name | Type | Required |
|---|---|---|
| data | CategoryCreateInput | CategoryUncheckedCreateInput | Yes |
Delete one Category
// Delete one Category
const Category = await prisma.category.delete({
where: {
// ... filter to delete one Category
}
})
| Name | Type | Required |
|---|---|---|
| where | CategoryWhereUniqueInput | Yes |
Update one Category
// Update one Category
const category = await prisma.category.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | CategoryUpdateInput | CategoryUncheckedUpdateInput | Yes |
| where | CategoryWhereUniqueInput | Yes |
Delete zero or more Category
// Delete a few Category
const { count } = await prisma.category.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | CategoryWhereInput | No |
| limit | Int | No |
Update zero or one Category
const { count } = await prisma.category.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | CategoryUpdateManyMutationInput | CategoryUncheckedUpdateManyInput | Yes |
| where | CategoryWhereInput | No |
| limit | Int | No |
Create or update one Category
// Update or create a Category
const category = await prisma.category.upsert({
create: {
// ... data to create a Category
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Category we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | CategoryWhereUniqueInput | Yes |
| create | CategoryCreateInput | CategoryUncheckedCreateInput | Yes |
| update | CategoryUpdateInput | CategoryUncheckedUpdateInput | Yes |
| Name | Value |
|---|---|
| @@id |
|
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| productId | String |
|
Yes | ID товара, пример: "b123c456-d789-4ef0-9123-4567abcde890" |
| categoryId | String |
|
Yes | ID категории, пример: "d3b6a4f1-90c7-4e1e-9d8e-64f3b1a0a2d3" |
| product | Product |
|
Yes | Связь с таблицей товаров (Product) |
| category | Category |
|
Yes | Связь с таблицей категорий (Category) |
Find zero or one ProductCategory
// Get one ProductCategory
const productCategory = await prisma.productCategory.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductCategoryWhereUniqueInput | Yes |
Find first ProductCategory
// Get one ProductCategory
const productCategory = await prisma.productCategory.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductCategoryWhereInput | No |
| orderBy | ProductCategoryOrderByWithRelationInput[] | ProductCategoryOrderByWithRelationInput | No |
| cursor | ProductCategoryWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductCategoryScalarFieldEnum | ProductCategoryScalarFieldEnum[] | No |
Find zero or more ProductCategory
// Get all ProductCategory
const ProductCategory = await prisma.productCategory.findMany()
// Get first 10 ProductCategory
const ProductCategory = await prisma.productCategory.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | ProductCategoryWhereInput | No |
| orderBy | ProductCategoryOrderByWithRelationInput[] | ProductCategoryOrderByWithRelationInput | No |
| cursor | ProductCategoryWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductCategoryScalarFieldEnum | ProductCategoryScalarFieldEnum[] | No |
Create one ProductCategory
// Create one ProductCategory
const ProductCategory = await prisma.productCategory.create({
data: {
// ... data to create a ProductCategory
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductCategoryCreateInput | ProductCategoryUncheckedCreateInput | Yes |
Delete one ProductCategory
// Delete one ProductCategory
const ProductCategory = await prisma.productCategory.delete({
where: {
// ... filter to delete one ProductCategory
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductCategoryWhereUniqueInput | Yes |
Update one ProductCategory
// Update one ProductCategory
const productCategory = await prisma.productCategory.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductCategoryUpdateInput | ProductCategoryUncheckedUpdateInput | Yes |
| where | ProductCategoryWhereUniqueInput | Yes |
Delete zero or more ProductCategory
// Delete a few ProductCategory
const { count } = await prisma.productCategory.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductCategoryWhereInput | No |
| limit | Int | No |
Update zero or one ProductCategory
const { count } = await prisma.productCategory.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductCategoryUpdateManyMutationInput | ProductCategoryUncheckedUpdateManyInput | Yes |
| where | ProductCategoryWhereInput | No |
| limit | Int | No |
Create or update one ProductCategory
// Update or create a ProductCategory
const productCategory = await prisma.productCategory.upsert({
create: {
// ... data to create a ProductCategory
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the ProductCategory we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductCategoryWhereUniqueInput | Yes |
| create | ProductCategoryCreateInput | ProductCategoryUncheckedCreateInput | Yes |
| update | ProductCategoryUpdateInput | ProductCategoryUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор цены, пример: "b123c456-d789-4ef0-9123-4567abcde890" |
| productId | String |
|
Yes | ID товара, к которому относится данная цена |
| organizationId | String? |
|
No | ID организации, для которой указана цена (если применимо) |
| priceType | PriceType |
|
Yes | Тип цены: например, RETAIL (розничная), WHOLESALE (оптовая) |
| amount | Decimal |
|
Yes | Сумма цены в валюте, пример: 1299.99 |
| currencyId | String |
|
Yes | ID валюты, в которой указана цена |
| currency | Currency |
|
Yes | Связь с таблицей валют (Currency) |
| product | Product |
|
Yes | Связь с таблицей товаров (Product) |
| organization | Organization? |
|
No | Связь с организацией, если цена специфична для неё |
| customerType | CustomerType? |
|
No | Тип клиента, для которого установлена цена: например, CLIENT или SUPPLIER |
| createdAt | DateTime |
|
Yes | Дата создания записи, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
Find zero or one ProductPrice
// Get one ProductPrice
const productPrice = await prisma.productPrice.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductPriceWhereUniqueInput | Yes |
Find first ProductPrice
// Get one ProductPrice
const productPrice = await prisma.productPrice.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductPriceWhereInput | No |
| orderBy | ProductPriceOrderByWithRelationInput[] | ProductPriceOrderByWithRelationInput | No |
| cursor | ProductPriceWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductPriceScalarFieldEnum | ProductPriceScalarFieldEnum[] | No |
Find zero or more ProductPrice
// Get all ProductPrice
const ProductPrice = await prisma.productPrice.findMany()
// Get first 10 ProductPrice
const ProductPrice = await prisma.productPrice.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | ProductPriceWhereInput | No |
| orderBy | ProductPriceOrderByWithRelationInput[] | ProductPriceOrderByWithRelationInput | No |
| cursor | ProductPriceWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductPriceScalarFieldEnum | ProductPriceScalarFieldEnum[] | No |
Create one ProductPrice
// Create one ProductPrice
const ProductPrice = await prisma.productPrice.create({
data: {
// ... data to create a ProductPrice
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductPriceCreateInput | ProductPriceUncheckedCreateInput | Yes |
Delete one ProductPrice
// Delete one ProductPrice
const ProductPrice = await prisma.productPrice.delete({
where: {
// ... filter to delete one ProductPrice
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductPriceWhereUniqueInput | Yes |
Update one ProductPrice
// Update one ProductPrice
const productPrice = await prisma.productPrice.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductPriceUpdateInput | ProductPriceUncheckedUpdateInput | Yes |
| where | ProductPriceWhereUniqueInput | Yes |
Delete zero or more ProductPrice
// Delete a few ProductPrice
const { count } = await prisma.productPrice.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductPriceWhereInput | No |
| limit | Int | No |
Update zero or one ProductPrice
const { count } = await prisma.productPrice.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductPriceUpdateManyMutationInput | ProductPriceUncheckedUpdateManyInput | Yes |
| where | ProductPriceWhereInput | No |
| limit | Int | No |
Create or update one ProductPrice
// Update or create a ProductPrice
const productPrice = await prisma.productPrice.upsert({
create: {
// ... data to create a ProductPrice
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the ProductPrice we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductPriceWhereUniqueInput | Yes |
| create | ProductPriceCreateInput | ProductPriceUncheckedCreateInput | Yes |
| update | ProductPriceUpdateInput | ProductPriceUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор экземпляра товара, пример: "f12a34b5-c678-9def-0123-456789abcdef" |
| productId | String |
|
Yes | ID товара, к которому принадлежит данный экземпляр |
| serialNumber | String |
|
Yes | Уникальный серийный номер устройства, пример: "SN-ABC-123456" |
| currentOwnerId | String? |
|
No | ID текущего владельца (клиента), если товар уже продан |
| currentStatus | ProductStatus |
|
Yes | Текущий статус экземпляра: например, IN_STOCK, SOLD, RETURNED |
| organizationId | String |
|
Yes | ID организации, которой принадлежит этот экземпляр |
| product | Product |
|
Yes | Связь с таблицей товаров (Product) |
| organization | Organization |
|
Yes | Связь с организацией-владельцем товара |
| current_owner | OrganizationCustomer? |
|
No | Текущий владелец товара (клиент) |
| transactions | ProductTransaction[] |
|
Yes | История транзакций по этому экземпляру товара |
| createdAt | DateTime |
|
Yes | Дата создания записи, пример: "2025-11-02T12:00:00Z" |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
Find zero or one ProductInstance
// Get one ProductInstance
const productInstance = await prisma.productInstance.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | Yes |
Find first ProductInstance
// Get one ProductInstance
const productInstance = await prisma.productInstance.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductInstanceWhereInput | No |
| orderBy | ProductInstanceOrderByWithRelationInput[] | ProductInstanceOrderByWithRelationInput | No |
| cursor | ProductInstanceWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductInstanceScalarFieldEnum | ProductInstanceScalarFieldEnum[] | No |
Find zero or more ProductInstance
// Get all ProductInstance
const ProductInstance = await prisma.productInstance.findMany()
// Get first 10 ProductInstance
const ProductInstance = await prisma.productInstance.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | ProductInstanceWhereInput | No |
| orderBy | ProductInstanceOrderByWithRelationInput[] | ProductInstanceOrderByWithRelationInput | No |
| cursor | ProductInstanceWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductInstanceScalarFieldEnum | ProductInstanceScalarFieldEnum[] | No |
Create one ProductInstance
// Create one ProductInstance
const ProductInstance = await prisma.productInstance.create({
data: {
// ... data to create a ProductInstance
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductInstanceCreateInput | ProductInstanceUncheckedCreateInput | Yes |
Delete one ProductInstance
// Delete one ProductInstance
const ProductInstance = await prisma.productInstance.delete({
where: {
// ... filter to delete one ProductInstance
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | Yes |
Update one ProductInstance
// Update one ProductInstance
const productInstance = await prisma.productInstance.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductInstanceUpdateInput | ProductInstanceUncheckedUpdateInput | Yes |
| where | ProductInstanceWhereUniqueInput | Yes |
Delete zero or more ProductInstance
// Delete a few ProductInstance
const { count } = await prisma.productInstance.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductInstanceWhereInput | No |
| limit | Int | No |
Update zero or one ProductInstance
const { count } = await prisma.productInstance.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductInstanceUpdateManyMutationInput | ProductInstanceUncheckedUpdateManyInput | Yes |
| where | ProductInstanceWhereInput | No |
| limit | Int | No |
Create or update one ProductInstance
// Update or create a ProductInstance
const productInstance = await prisma.productInstance.upsert({
create: {
// ... data to create a ProductInstance
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the ProductInstance we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | Yes |
| create | ProductInstanceCreateInput | ProductInstanceUncheckedCreateInput | Yes |
| update | ProductInstanceUpdateInput | ProductInstanceUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор транзакции, пример: "a12b34c5-d67e-890f-1234-56789abcdef0" |
| productInstanceId | String |
|
Yes | ID экземпляра товара, к которому относится транзакция |
| fromCustomerId | String? |
|
No | ID клиента, от которого поступил товар (если применимо) |
| toCustomerId | String? |
|
No | ID клиента, которому передан товар (если применимо) |
| toOrganizationId | String? |
|
No | ID организации, получившей товар (например, при возврате) |
| saleId | String? |
|
No | ID продажи, если транзакция связана с продажей товара |
| action | ProductAction |
|
Yes | Тип действия: например, SOLD, RETURNED, TRANSFERRED |
| date | DateTime |
|
Yes | Дата и время транзакции, пример: "2025-11-02T12:00:00Z" |
| description | String? |
|
No | Дополнительное описание или комментарий к транзакции, пример: "Возврат по гарантии" |
| product_instance | ProductInstance |
|
Yes | Связь с экземпляром товара (ProductInstance) |
Find zero or one ProductTransaction
// Get one ProductTransaction
const productTransaction = await prisma.productTransaction.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductTransactionWhereUniqueInput | Yes |
Find first ProductTransaction
// Get one ProductTransaction
const productTransaction = await prisma.productTransaction.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductTransactionWhereInput | No |
| orderBy | ProductTransactionOrderByWithRelationInput[] | ProductTransactionOrderByWithRelationInput | No |
| cursor | ProductTransactionWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductTransactionScalarFieldEnum | ProductTransactionScalarFieldEnum[] | No |
Find zero or more ProductTransaction
// Get all ProductTransaction
const ProductTransaction = await prisma.productTransaction.findMany()
// Get first 10 ProductTransaction
const ProductTransaction = await prisma.productTransaction.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | ProductTransactionWhereInput | No |
| orderBy | ProductTransactionOrderByWithRelationInput[] | ProductTransactionOrderByWithRelationInput | No |
| cursor | ProductTransactionWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductTransactionScalarFieldEnum | ProductTransactionScalarFieldEnum[] | No |
Create one ProductTransaction
// Create one ProductTransaction
const ProductTransaction = await prisma.productTransaction.create({
data: {
// ... data to create a ProductTransaction
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductTransactionCreateInput | ProductTransactionUncheckedCreateInput | Yes |
Delete one ProductTransaction
// Delete one ProductTransaction
const ProductTransaction = await prisma.productTransaction.delete({
where: {
// ... filter to delete one ProductTransaction
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductTransactionWhereUniqueInput | Yes |
Update one ProductTransaction
// Update one ProductTransaction
const productTransaction = await prisma.productTransaction.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductTransactionUpdateInput | ProductTransactionUncheckedUpdateInput | Yes |
| where | ProductTransactionWhereUniqueInput | Yes |
Delete zero or more ProductTransaction
// Delete a few ProductTransaction
const { count } = await prisma.productTransaction.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductTransactionWhereInput | No |
| limit | Int | No |
Update zero or one ProductTransaction
const { count } = await prisma.productTransaction.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductTransactionUpdateManyMutationInput | ProductTransactionUncheckedUpdateManyInput | Yes |
| where | ProductTransactionWhereInput | No |
| limit | Int | No |
Create or update one ProductTransaction
// Update or create a ProductTransaction
const productTransaction = await prisma.productTransaction.upsert({
create: {
// ... data to create a ProductTransaction
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the ProductTransaction we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductTransactionWhereUniqueInput | Yes |
| create | ProductTransactionCreateInput | ProductTransactionUncheckedCreateInput | Yes |
| update | ProductTransactionUpdateInput | ProductTransactionUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор партии, пример: "a12b34c5-d67e-890f-1234-56789abcdef0" |
| productId | String |
|
Yes | ID товара, к которому относится данная партия |
| batchNumber | String |
|
Yes | Номер партии, пример: "BATCH-2025-001" |
| expiryDate | DateTime? |
|
No | Срок годности партии, если применимо, пример: "2026-05-30T00:00:00Z" |
| quantity | Int |
|
Yes | Количество единиц товара в партии, пример: 500 |
| isValid | Boolean |
|
Yes | Статус активности партии: true — активна, false — просрочена или списана |
| product | Product |
|
Yes | Связь с таблицей товаров (Product) |
Find zero or one ProductBatch
// Get one ProductBatch
const productBatch = await prisma.productBatch.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductBatchWhereUniqueInput | Yes |
Find first ProductBatch
// Get one ProductBatch
const productBatch = await prisma.productBatch.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductBatchWhereInput | No |
| orderBy | ProductBatchOrderByWithRelationInput[] | ProductBatchOrderByWithRelationInput | No |
| cursor | ProductBatchWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductBatchScalarFieldEnum | ProductBatchScalarFieldEnum[] | No |
Find zero or more ProductBatch
// Get all ProductBatch
const ProductBatch = await prisma.productBatch.findMany()
// Get first 10 ProductBatch
const ProductBatch = await prisma.productBatch.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | ProductBatchWhereInput | No |
| orderBy | ProductBatchOrderByWithRelationInput[] | ProductBatchOrderByWithRelationInput | No |
| cursor | ProductBatchWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | ProductBatchScalarFieldEnum | ProductBatchScalarFieldEnum[] | No |
Create one ProductBatch
// Create one ProductBatch
const ProductBatch = await prisma.productBatch.create({
data: {
// ... data to create a ProductBatch
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductBatchCreateInput | ProductBatchUncheckedCreateInput | Yes |
Delete one ProductBatch
// Delete one ProductBatch
const ProductBatch = await prisma.productBatch.delete({
where: {
// ... filter to delete one ProductBatch
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductBatchWhereUniqueInput | Yes |
Update one ProductBatch
// Update one ProductBatch
const productBatch = await prisma.productBatch.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductBatchUpdateInput | ProductBatchUncheckedUpdateInput | Yes |
| where | ProductBatchWhereUniqueInput | Yes |
Delete zero or more ProductBatch
// Delete a few ProductBatch
const { count } = await prisma.productBatch.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductBatchWhereInput | No |
| limit | Int | No |
Update zero or one ProductBatch
const { count } = await prisma.productBatch.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | ProductBatchUpdateManyMutationInput | ProductBatchUncheckedUpdateManyInput | Yes |
| where | ProductBatchWhereInput | No |
| limit | Int | No |
Create or update one ProductBatch
// Update or create a ProductBatch
const productBatch = await prisma.productBatch.upsert({
create: {
// ... data to create a ProductBatch
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the ProductBatch we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | ProductBatchWhereUniqueInput | Yes |
| create | ProductBatchCreateInput | ProductBatchUncheckedCreateInput | Yes |
| update | ProductBatchUpdateInput | ProductBatchUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор записи склада, пример: "e12f34a5-b67c-890d-1234-56789abcdef0" |
| organizationId | String |
|
Yes | ID организации, которой принадлежит данный складской остаток |
| productId | String |
|
Yes | ID товара, который хранится на складе |
| quantity | Int |
|
Yes | Текущее количество единиц товара на складе, пример: 150 |
| updatedAt | DateTime |
|
Yes | Дата и время последнего обновления записи, пример: "2025-11-02T12:00:00Z" |
| organization | Organization |
|
Yes | Связь с таблицей организаций (Organization) |
| product | Product |
|
Yes | Связь с таблицей товаров (Product) |
Find zero or one Stock
// Get one Stock
const stock = await prisma.stock.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | StockWhereUniqueInput | Yes |
Find first Stock
// Get one Stock
const stock = await prisma.stock.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | StockWhereInput | No |
| orderBy | StockOrderByWithRelationInput[] | StockOrderByWithRelationInput | No |
| cursor | StockWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | StockScalarFieldEnum | StockScalarFieldEnum[] | No |
Find zero or more Stock
// Get all Stock
const Stock = await prisma.stock.findMany()
// Get first 10 Stock
const Stock = await prisma.stock.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | StockWhereInput | No |
| orderBy | StockOrderByWithRelationInput[] | StockOrderByWithRelationInput | No |
| cursor | StockWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | StockScalarFieldEnum | StockScalarFieldEnum[] | No |
Create one Stock
// Create one Stock
const Stock = await prisma.stock.create({
data: {
// ... data to create a Stock
}
})
| Name | Type | Required |
|---|---|---|
| data | StockCreateInput | StockUncheckedCreateInput | Yes |
Delete one Stock
// Delete one Stock
const Stock = await prisma.stock.delete({
where: {
// ... filter to delete one Stock
}
})
| Name | Type | Required |
|---|---|---|
| where | StockWhereUniqueInput | Yes |
Update one Stock
// Update one Stock
const stock = await prisma.stock.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | StockUpdateInput | StockUncheckedUpdateInput | Yes |
| where | StockWhereUniqueInput | Yes |
Delete zero or more Stock
// Delete a few Stock
const { count } = await prisma.stock.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | StockWhereInput | No |
| limit | Int | No |
Update zero or one Stock
const { count } = await prisma.stock.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | StockUpdateManyMutationInput | StockUncheckedUpdateManyInput | Yes |
| where | StockWhereInput | No |
| limit | Int | No |
Create or update one Stock
// Update or create a Stock
const stock = await prisma.stock.upsert({
create: {
// ... data to create a Stock
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Stock we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | StockWhereUniqueInput | Yes |
| create | StockCreateInput | StockUncheckedCreateInput | Yes |
| update | StockUpdateInput | StockUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор кассы, пример: "b7e2b8c0-4a6f-4d73-9e4f-9f18a96f5e02" |
| organizationId | String |
|
Yes | ID организации, к которой принадлежит касса |
| name | String |
|
Yes | Название кассы, пример: "Наличные UZS" или "Click-платежи" |
| type | String |
|
Yes | Тип кассы, пример: "наличные", "банк", "электронная" |
| currencyId | String |
|
Yes | Валюта кассы, ссылается на таблицу Currency |
| balance | Decimal |
|
Yes | Текущий баланс кассы, пример: 1520000.50 |
| organization | Organization |
|
Yes | Связь с организацией-владельцем кассы |
| currency | Currency |
|
Yes | Связь с валютой кассы |
| payments | Payment[] |
|
Yes | Оплаты, проведённые через эту кассу |
| createdAt | DateTime |
|
Yes | Дата и время создания записи |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления |
| purchases | Purchase[] |
|
Yes | Список покупок, оплаченных через эту кассу |
| sales | Sale[] |
|
Yes | Список продаж, связанных с этой кассой |
| outgoing_transfers | KassaTransfer[] |
|
Yes | Переводы, отправленные из этой кассы |
| incoming_transfers | KassaTransfer[] |
|
Yes | Переводы, полученные в эту кассу |
Find zero or one Kassa
// Get one Kassa
const kassa = await prisma.kassa.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaWhereUniqueInput | Yes |
Find first Kassa
// Get one Kassa
const kassa = await prisma.kassa.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaWhereInput | No |
| orderBy | KassaOrderByWithRelationInput[] | KassaOrderByWithRelationInput | No |
| cursor | KassaWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | KassaScalarFieldEnum | KassaScalarFieldEnum[] | No |
Find zero or more Kassa
// Get all Kassa
const Kassa = await prisma.kassa.findMany()
// Get first 10 Kassa
const Kassa = await prisma.kassa.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | KassaWhereInput | No |
| orderBy | KassaOrderByWithRelationInput[] | KassaOrderByWithRelationInput | No |
| cursor | KassaWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | KassaScalarFieldEnum | KassaScalarFieldEnum[] | No |
Create one Kassa
// Create one Kassa
const Kassa = await prisma.kassa.create({
data: {
// ... data to create a Kassa
}
})
| Name | Type | Required |
|---|---|---|
| data | KassaCreateInput | KassaUncheckedCreateInput | Yes |
Delete one Kassa
// Delete one Kassa
const Kassa = await prisma.kassa.delete({
where: {
// ... filter to delete one Kassa
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaWhereUniqueInput | Yes |
Update one Kassa
// Update one Kassa
const kassa = await prisma.kassa.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | KassaUpdateInput | KassaUncheckedUpdateInput | Yes |
| where | KassaWhereUniqueInput | Yes |
Delete zero or more Kassa
// Delete a few Kassa
const { count } = await prisma.kassa.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaWhereInput | No |
| limit | Int | No |
Update zero or one Kassa
const { count } = await prisma.kassa.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | KassaUpdateManyMutationInput | KassaUncheckedUpdateManyInput | Yes |
| where | KassaWhereInput | No |
| limit | Int | No |
Create or update one Kassa
// Update or create a Kassa
const kassa = await prisma.kassa.upsert({
create: {
// ... data to create a Kassa
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Kassa we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaWhereUniqueInput | Yes |
| create | KassaCreateInput | KassaUncheckedCreateInput | Yes |
| update | KassaUpdateInput | KassaUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор перевода, пример: "e29b4ac3-0b92-4f6b-b56f-3a78fa2a9a3d" |
| organizationId | String |
|
Yes | ID организации, к которой относится перевод |
| fromKassaId | String |
|
Yes | ID кассы-источника перевода |
| toKassaId | String |
|
Yes | ID кассы-получателя перевода |
| fromCurrencyId | String |
|
Yes | ID валюты, из которой производится перевод |
| toCurrencyId | String |
|
Yes | ID валюты, в которую производится перевод |
| rate | Decimal |
|
Yes | Курс перевода, пример: 1 USD = 12500 UZS |
| amount | Decimal |
|
Yes | Сумма перевода в валюте источника, пример: 100.00 |
| convertedAmount | Decimal |
|
Yes | Сумма после пересчёта в валюту получателя, пример: 1250000.00 |
| description | String? |
|
No | Описание или примечание к переводу, пример: "Перевод из кассы USD в кассу UZS" |
| createdAt | DateTime |
|
Yes | Дата и время создания перевода |
| organization | Organization |
|
Yes | Связь с организацией-владельцем |
| from_kassa | Kassa |
|
Yes | Касса, откуда отправлены средства |
| to_kassa | Kassa |
|
Yes | Касса, куда зачислены средства |
| from_currency | Currency |
|
Yes | Валюта источника |
| to_currency | Currency |
|
Yes | Валюта получателя |
Find zero or one KassaTransfer
// Get one KassaTransfer
const kassaTransfer = await prisma.kassaTransfer.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaTransferWhereUniqueInput | Yes |
Find first KassaTransfer
// Get one KassaTransfer
const kassaTransfer = await prisma.kassaTransfer.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaTransferWhereInput | No |
| orderBy | KassaTransferOrderByWithRelationInput[] | KassaTransferOrderByWithRelationInput | No |
| cursor | KassaTransferWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | KassaTransferScalarFieldEnum | KassaTransferScalarFieldEnum[] | No |
Find zero or more KassaTransfer
// Get all KassaTransfer
const KassaTransfer = await prisma.kassaTransfer.findMany()
// Get first 10 KassaTransfer
const KassaTransfer = await prisma.kassaTransfer.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | KassaTransferWhereInput | No |
| orderBy | KassaTransferOrderByWithRelationInput[] | KassaTransferOrderByWithRelationInput | No |
| cursor | KassaTransferWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | KassaTransferScalarFieldEnum | KassaTransferScalarFieldEnum[] | No |
Create one KassaTransfer
// Create one KassaTransfer
const KassaTransfer = await prisma.kassaTransfer.create({
data: {
// ... data to create a KassaTransfer
}
})
| Name | Type | Required |
|---|---|---|
| data | KassaTransferCreateInput | KassaTransferUncheckedCreateInput | Yes |
Delete one KassaTransfer
// Delete one KassaTransfer
const KassaTransfer = await prisma.kassaTransfer.delete({
where: {
// ... filter to delete one KassaTransfer
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaTransferWhereUniqueInput | Yes |
Update one KassaTransfer
// Update one KassaTransfer
const kassaTransfer = await prisma.kassaTransfer.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | KassaTransferUpdateInput | KassaTransferUncheckedUpdateInput | Yes |
| where | KassaTransferWhereUniqueInput | Yes |
Delete zero or more KassaTransfer
// Delete a few KassaTransfer
const { count } = await prisma.kassaTransfer.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaTransferWhereInput | No |
| limit | Int | No |
Update zero or one KassaTransfer
const { count } = await prisma.kassaTransfer.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyInput | Yes |
| where | KassaTransferWhereInput | No |
| limit | Int | No |
Create or update one KassaTransfer
// Update or create a KassaTransfer
const kassaTransfer = await prisma.kassaTransfer.upsert({
create: {
// ... data to create a KassaTransfer
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the KassaTransfer we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | KassaTransferWhereUniqueInput | Yes |
| create | KassaTransferCreateInput | KassaTransferUncheckedCreateInput | Yes |
| update | KassaTransferUpdateInput | KassaTransferUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор платежа, пример: "f6c93b1e-2e32-4b3d-9af1-02c7bfa9f7e3" |
| organizationId | String |
|
Yes | ID организации, к которой относится платёж |
| userId | String? |
|
No | Пользователь, который провёл оплату (например, кассир) |
| customerId | String? |
|
No | Клиент, от которого или которому поступает платёж |
| kassaId | String |
|
Yes | Касса, из которой произведён или в которую поступил платёж |
| amount | Decimal |
|
Yes | Сумма платежа, пример: 500000.00 |
| currencyId | String |
|
Yes | Валюта платежа, пример: "USD", "UZS" |
| type | PaymentType |
|
Yes | Тип платежа, пример: INCOME (поступление) или EXPENSE (расход) |
| description | String? |
|
No | Описание платежа, пример: "Оплата по счёту №1234" |
| purchaseId | String? |
|
No | Если это оплата за покупку — ссылка на Purchase |
| saleId | String? |
|
No | Если это оплата за продажу — ссылка на Sale |
| organization | Organization |
|
Yes | Связь с организацией |
| user | User? |
|
No | Связь с пользователем, проводившим платёж |
| customer | OrganizationCustomer? |
|
No | Связь с клиентом или поставщиком |
| kassa | Kassa |
|
Yes | Касса, из которой или в которую проведён платёж |
| currency | Currency |
|
Yes | Валюта, в которой произведён платёж |
| purchase | Purchase? |
|
No | Ссылка на покупку, если есть |
| sale | Sale? |
|
No | Ссылка на продажу, если есть |
| createdAt | DateTime |
|
Yes | Дата и время создания записи о платеже |
| installment_payments | InstallmentPayment[] |
|
Yes | Массив записей, если платёж разбит на части (рассрочка) |
Find zero or one Payment
// Get one Payment
const payment = await prisma.payment.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | PaymentWhereUniqueInput | Yes |
Find first Payment
// Get one Payment
const payment = await prisma.payment.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | PaymentWhereInput | No |
| orderBy | PaymentOrderByWithRelationInput[] | PaymentOrderByWithRelationInput | No |
| cursor | PaymentWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | PaymentScalarFieldEnum | PaymentScalarFieldEnum[] | No |
Find zero or more Payment
// Get all Payment
const Payment = await prisma.payment.findMany()
// Get first 10 Payment
const Payment = await prisma.payment.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | PaymentWhereInput | No |
| orderBy | PaymentOrderByWithRelationInput[] | PaymentOrderByWithRelationInput | No |
| cursor | PaymentWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | PaymentScalarFieldEnum | PaymentScalarFieldEnum[] | No |
Create one Payment
// Create one Payment
const Payment = await prisma.payment.create({
data: {
// ... data to create a Payment
}
})
| Name | Type | Required |
|---|---|---|
| data | PaymentCreateInput | PaymentUncheckedCreateInput | Yes |
Delete one Payment
// Delete one Payment
const Payment = await prisma.payment.delete({
where: {
// ... filter to delete one Payment
}
})
| Name | Type | Required |
|---|---|---|
| where | PaymentWhereUniqueInput | Yes |
Update one Payment
// Update one Payment
const payment = await prisma.payment.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | PaymentUpdateInput | PaymentUncheckedUpdateInput | Yes |
| where | PaymentWhereUniqueInput | Yes |
Delete zero or more Payment
// Delete a few Payment
const { count } = await prisma.payment.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | PaymentWhereInput | No |
| limit | Int | No |
Update zero or one Payment
const { count } = await prisma.payment.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyInput | Yes |
| where | PaymentWhereInput | No |
| limit | Int | No |
Create or update one Payment
// Update or create a Payment
const payment = await prisma.payment.upsert({
create: {
// ... data to create a Payment
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Payment we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | PaymentWhereUniqueInput | Yes |
| create | PaymentCreateInput | PaymentUncheckedCreateInput | Yes |
| update | PaymentUpdateInput | PaymentUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор транзакции, пример: "a67d2c55-3e20-48df-9008-5b7f9b89a991" |
| organizationId | String |
|
Yes | ID организации, к которой относится транзакция |
| customerId | String |
|
Yes | ID клиента или контрагента, связанного с транзакцией |
| relatedType | RelatedType |
|
Yes | Тип связанной операции, пример: SALE, PURCHASE, PAYMENT и т.д. |
| relatedId | String |
|
Yes | ID связанной записи (например, продажи, покупки или платежа) |
| date | DateTime |
|
Yes | Дата и время создания транзакции |
| debit | Decimal |
|
Yes | Сумма, поступившая на счёт (дебет), пример: 200000.00 |
| credit | Decimal |
|
Yes | Сумма, списанная со счёта (кредит), пример: 150000.00 |
| balanceAfter | Decimal |
|
Yes | Баланс клиента после транзакции, пример: 50000.00 |
| currencyId | String |
|
Yes | ID валюты, в которой совершена операция |
| description | String? |
|
No | Необязательное описание транзакции, пример: "Оплата по счёту №1234" |
| organization | Organization |
|
Yes | Связь с организацией |
| customer | OrganizationCustomer |
|
Yes | Связь с клиентом или контрагентом |
| currency | Currency |
|
Yes | Валюта транзакции |
Find zero or one Transaction
// Get one Transaction
const transaction = await prisma.transaction.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | TransactionWhereUniqueInput | Yes |
Find first Transaction
// Get one Transaction
const transaction = await prisma.transaction.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | TransactionWhereInput | No |
| orderBy | TransactionOrderByWithRelationInput[] | TransactionOrderByWithRelationInput | No |
| cursor | TransactionWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | TransactionScalarFieldEnum | TransactionScalarFieldEnum[] | No |
Find zero or more Transaction
// Get all Transaction
const Transaction = await prisma.transaction.findMany()
// Get first 10 Transaction
const Transaction = await prisma.transaction.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | TransactionWhereInput | No |
| orderBy | TransactionOrderByWithRelationInput[] | TransactionOrderByWithRelationInput | No |
| cursor | TransactionWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | TransactionScalarFieldEnum | TransactionScalarFieldEnum[] | No |
Create one Transaction
// Create one Transaction
const Transaction = await prisma.transaction.create({
data: {
// ... data to create a Transaction
}
})
| Name | Type | Required |
|---|---|---|
| data | TransactionCreateInput | TransactionUncheckedCreateInput | Yes |
Delete one Transaction
// Delete one Transaction
const Transaction = await prisma.transaction.delete({
where: {
// ... filter to delete one Transaction
}
})
| Name | Type | Required |
|---|---|---|
| where | TransactionWhereUniqueInput | Yes |
Update one Transaction
// Update one Transaction
const transaction = await prisma.transaction.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | TransactionUpdateInput | TransactionUncheckedUpdateInput | Yes |
| where | TransactionWhereUniqueInput | Yes |
Delete zero or more Transaction
// Delete a few Transaction
const { count } = await prisma.transaction.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | TransactionWhereInput | No |
| limit | Int | No |
Update zero or one Transaction
const { count } = await prisma.transaction.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | TransactionUpdateManyMutationInput | TransactionUncheckedUpdateManyInput | Yes |
| where | TransactionWhereInput | No |
| limit | Int | No |
Create or update one Transaction
// Update or create a Transaction
const transaction = await prisma.transaction.upsert({
create: {
// ... data to create a Transaction
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Transaction we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | TransactionWhereUniqueInput | Yes |
| create | TransactionCreateInput | TransactionUncheckedCreateInput | Yes |
| update | TransactionUpdateInput | TransactionUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор продажи, пример: "8d5a2f7b-91e3-4e1b-9c65-ef8c9c1b6a91" |
| organizationId | String |
|
Yes | ID организации, которая выполнила продажу |
| customerId | String? |
|
No | ID клиента, которому продан товар |
| responsibleId | String |
|
Yes | ID пользователя, ответственного за продажу (менеджер, кассир и т.д.) |
| kassaId | String? |
|
No | ID кассы, из которой была произведена оплата (если применимо) |
| invoiceNumber | String |
|
Yes | Номер счёта или накладной, пример: "INV-2025-00123" |
| saleDate | DateTime |
|
Yes | Дата и время продажи |
| totalAmount | Decimal |
|
Yes | Общая сумма продажи, пример: 1250000.00 |
| paidAmount | Decimal |
|
Yes | Оплаченная сумма, пример: 750000.00 |
| currencyId | String |
|
Yes | Валюта, в которой проведена продажа |
| status | SaleStatus |
|
Yes | Статус продажи — DRAFT, COMPLETED, CANCELED и т.д. |
| notes | String? |
|
No | Примечание к продаже, пример: "Скидка постоянному клиенту" |
| organization | Organization |
|
Yes | Связь с организацией, где проведена продажа |
| customer | OrganizationCustomer? |
|
No | Клиент, которому продан товар |
| responsible | User |
|
Yes | Пользователь, оформивший продажу |
| currency | Currency |
|
Yes | Валюта продажи |
| kassa | Kassa? |
|
No | Касса, через которую прошла оплата |
| items | SaleItem[] |
|
Yes | Список проданных товаров |
| payments | Payment[] |
|
Yes | Платежи, связанные с этой продажей |
| createdAt | DateTime |
|
Yes | Дата создания записи |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления |
| installments | Installment[] |
|
Yes | Рассрочки, оформленные по этой продаже |
| documents | Document[] |
|
Yes | Документы (чеки, договоры, счета-фактуры и т.п.) |
Find zero or one Sale
// Get one Sale
const sale = await prisma.sale.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleWhereUniqueInput | Yes |
Find first Sale
// Get one Sale
const sale = await prisma.sale.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleWhereInput | No |
| orderBy | SaleOrderByWithRelationInput[] | SaleOrderByWithRelationInput | No |
| cursor | SaleWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | SaleScalarFieldEnum | SaleScalarFieldEnum[] | No |
Find zero or more Sale
// Get all Sale
const Sale = await prisma.sale.findMany()
// Get first 10 Sale
const Sale = await prisma.sale.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | SaleWhereInput | No |
| orderBy | SaleOrderByWithRelationInput[] | SaleOrderByWithRelationInput | No |
| cursor | SaleWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | SaleScalarFieldEnum | SaleScalarFieldEnum[] | No |
Create one Sale
// Create one Sale
const Sale = await prisma.sale.create({
data: {
// ... data to create a Sale
}
})
| Name | Type | Required |
|---|---|---|
| data | SaleCreateInput | SaleUncheckedCreateInput | Yes |
Delete one Sale
// Delete one Sale
const Sale = await prisma.sale.delete({
where: {
// ... filter to delete one Sale
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleWhereUniqueInput | Yes |
Update one Sale
// Update one Sale
const sale = await prisma.sale.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | SaleUpdateInput | SaleUncheckedUpdateInput | Yes |
| where | SaleWhereUniqueInput | Yes |
Delete zero or more Sale
// Delete a few Sale
const { count } = await prisma.sale.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleWhereInput | No |
| limit | Int | No |
Update zero or one Sale
const { count } = await prisma.sale.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | SaleUpdateManyMutationInput | SaleUncheckedUpdateManyInput | Yes |
| where | SaleWhereInput | No |
| limit | Int | No |
Create or update one Sale
// Update or create a Sale
const sale = await prisma.sale.upsert({
create: {
// ... data to create a Sale
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Sale we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleWhereUniqueInput | Yes |
| create | SaleCreateInput | SaleUncheckedCreateInput | Yes |
| update | SaleUpdateInput | SaleUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор позиции продажи, пример: "c71b90e2-2b15-45df-a318-ecb34a62a923" |
| saleId | String |
|
Yes | ID продажи, к которой относится эта позиция |
| productId | String |
|
Yes | ID проданного товара |
| quantity | Int |
|
Yes | Количество проданных единиц товара, пример: 3 |
| price | Decimal |
|
Yes | Цена за единицу товара, пример: 250000.00 |
| total | Decimal |
|
Yes | Общая сумма по этой позиции = quantity × price, пример: 750000.00 |
| currencyId | String |
|
Yes | Валюта, в которой указана цена и сумма, пример: "UZS" |
| sale | Sale |
|
Yes | Связь с продажей, которой принадлежит товар |
| product | Product |
|
Yes | Связь с проданным товаром |
| currency | Currency |
|
Yes | Валюта, используемая в продаже |
Find zero or one SaleItem
// Get one SaleItem
const saleItem = await prisma.saleItem.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleItemWhereUniqueInput | Yes |
Find first SaleItem
// Get one SaleItem
const saleItem = await prisma.saleItem.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleItemWhereInput | No |
| orderBy | SaleItemOrderByWithRelationInput[] | SaleItemOrderByWithRelationInput | No |
| cursor | SaleItemWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | SaleItemScalarFieldEnum | SaleItemScalarFieldEnum[] | No |
Find zero or more SaleItem
// Get all SaleItem
const SaleItem = await prisma.saleItem.findMany()
// Get first 10 SaleItem
const SaleItem = await prisma.saleItem.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | SaleItemWhereInput | No |
| orderBy | SaleItemOrderByWithRelationInput[] | SaleItemOrderByWithRelationInput | No |
| cursor | SaleItemWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | SaleItemScalarFieldEnum | SaleItemScalarFieldEnum[] | No |
Create one SaleItem
// Create one SaleItem
const SaleItem = await prisma.saleItem.create({
data: {
// ... data to create a SaleItem
}
})
| Name | Type | Required |
|---|---|---|
| data | SaleItemCreateInput | SaleItemUncheckedCreateInput | Yes |
Delete one SaleItem
// Delete one SaleItem
const SaleItem = await prisma.saleItem.delete({
where: {
// ... filter to delete one SaleItem
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleItemWhereUniqueInput | Yes |
Update one SaleItem
// Update one SaleItem
const saleItem = await prisma.saleItem.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | SaleItemUpdateInput | SaleItemUncheckedUpdateInput | Yes |
| where | SaleItemWhereUniqueInput | Yes |
Delete zero or more SaleItem
// Delete a few SaleItem
const { count } = await prisma.saleItem.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleItemWhereInput | No |
| limit | Int | No |
Update zero or one SaleItem
const { count } = await prisma.saleItem.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | SaleItemUpdateManyMutationInput | SaleItemUncheckedUpdateManyInput | Yes |
| where | SaleItemWhereInput | No |
| limit | Int | No |
Create or update one SaleItem
// Update or create a SaleItem
const saleItem = await prisma.saleItem.upsert({
create: {
// ... data to create a SaleItem
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the SaleItem we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | SaleItemWhereUniqueInput | Yes |
| create | SaleItemCreateInput | SaleItemUncheckedCreateInput | Yes |
| update | SaleItemUpdateInput | SaleItemUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор закупки, пример: "f6e5b1a2-45cd-4e99-b9a4-92c23d91a4a5" |
| organizationId | String |
|
Yes | ID организации, которая выполняет закупку |
| supplierId | String |
|
Yes | ID поставщика, у которого совершается покупка |
| responsibleId | String? |
|
No | ID пользователя, ответственного за закупку |
| kassaId | String? |
|
No | ID кассы, из которой производится оплата (опционально) |
| invoiceNumber | String? |
|
No | Номер накладной или счета, пример: "INV-2025-0023" |
| purchaseDate | DateTime |
|
Yes | Дата и время закупки, пример: "2025-10-12T14:45:00Z" |
| totalAmount | Decimal |
|
Yes | Общая сумма закупки, пример: 1250000.00 |
| paidAmount | Decimal |
|
Yes | Оплаченная сумма на данный момент, пример: 500000.00 |
| currencyId | String |
|
Yes | Валюта закупки, пример: "USD" |
| status | PurchaseStatus |
|
Yes | Статус закупки: DRAFT, CONFIRMED, COMPLETED и т.д. |
| notes | String? |
|
No | Дополнительные комментарии или примечания по закупке |
| organization | Organization |
|
Yes | Связь с организацией, которая совершила закупку |
| supplier | OrganizationCustomer |
|
Yes | Связь с поставщиком |
| responsible | User? |
|
No | Ответственное лицо (пользователь) |
| currency | Currency |
|
Yes | Валюта, в которой оформлена закупка |
| kassa | Kassa? |
|
No | Касса, из которой произведена оплата |
| items | PurchaseItem[] |
|
Yes | Список товаров, входящих в закупку |
| payments | Payment[] |
|
Yes | Связанные оплаты по закупке |
| createdAt | DateTime |
|
Yes | Дата создания записи о закупке |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
Find zero or one Purchase
// Get one Purchase
const purchase = await prisma.purchase.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseWhereUniqueInput | Yes |
Find first Purchase
// Get one Purchase
const purchase = await prisma.purchase.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseWhereInput | No |
| orderBy | PurchaseOrderByWithRelationInput[] | PurchaseOrderByWithRelationInput | No |
| cursor | PurchaseWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | PurchaseScalarFieldEnum | PurchaseScalarFieldEnum[] | No |
Find zero or more Purchase
// Get all Purchase
const Purchase = await prisma.purchase.findMany()
// Get first 10 Purchase
const Purchase = await prisma.purchase.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | PurchaseWhereInput | No |
| orderBy | PurchaseOrderByWithRelationInput[] | PurchaseOrderByWithRelationInput | No |
| cursor | PurchaseWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | PurchaseScalarFieldEnum | PurchaseScalarFieldEnum[] | No |
Create one Purchase
// Create one Purchase
const Purchase = await prisma.purchase.create({
data: {
// ... data to create a Purchase
}
})
| Name | Type | Required |
|---|---|---|
| data | PurchaseCreateInput | PurchaseUncheckedCreateInput | Yes |
Delete one Purchase
// Delete one Purchase
const Purchase = await prisma.purchase.delete({
where: {
// ... filter to delete one Purchase
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseWhereUniqueInput | Yes |
Update one Purchase
// Update one Purchase
const purchase = await prisma.purchase.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | PurchaseUpdateInput | PurchaseUncheckedUpdateInput | Yes |
| where | PurchaseWhereUniqueInput | Yes |
Delete zero or more Purchase
// Delete a few Purchase
const { count } = await prisma.purchase.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseWhereInput | No |
| limit | Int | No |
Update zero or one Purchase
const { count } = await prisma.purchase.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyInput | Yes |
| where | PurchaseWhereInput | No |
| limit | Int | No |
Create or update one Purchase
// Update or create a Purchase
const purchase = await prisma.purchase.upsert({
create: {
// ... data to create a Purchase
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Purchase we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseWhereUniqueInput | Yes |
| create | PurchaseCreateInput | PurchaseUncheckedCreateInput | Yes |
| update | PurchaseUpdateInput | PurchaseUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор позиции закупки, пример: "c71b90e2-2b15-45df-a318-ecb34a62a923" |
| purchaseId | String |
|
Yes | ID закупки, к которой относится эта позиция |
| productId | String |
|
Yes | ID товара, который закуплен |
| quantity | Int |
|
Yes | Количество единиц товара, пример: 10 |
| price | Decimal |
|
Yes | Цена за единицу товара, пример: 12000.50 |
| discount | Decimal |
|
Yes | Скидка на единицу товара, пример: 500.00 |
| total | Decimal |
|
Yes | Итоговая сумма по позиции = (price - discount) * quantity, пример: 115000.00 |
| purchase | Purchase |
|
Yes | Связь с закупкой |
| product | Product |
|
Yes | Связь с закупленным товаром |
Find zero or one PurchaseItem
// Get one PurchaseItem
const purchaseItem = await prisma.purchaseItem.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseItemWhereUniqueInput | Yes |
Find first PurchaseItem
// Get one PurchaseItem
const purchaseItem = await prisma.purchaseItem.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseItemWhereInput | No |
| orderBy | PurchaseItemOrderByWithRelationInput[] | PurchaseItemOrderByWithRelationInput | No |
| cursor | PurchaseItemWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | PurchaseItemScalarFieldEnum | PurchaseItemScalarFieldEnum[] | No |
Find zero or more PurchaseItem
// Get all PurchaseItem
const PurchaseItem = await prisma.purchaseItem.findMany()
// Get first 10 PurchaseItem
const PurchaseItem = await prisma.purchaseItem.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | PurchaseItemWhereInput | No |
| orderBy | PurchaseItemOrderByWithRelationInput[] | PurchaseItemOrderByWithRelationInput | No |
| cursor | PurchaseItemWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | PurchaseItemScalarFieldEnum | PurchaseItemScalarFieldEnum[] | No |
Create one PurchaseItem
// Create one PurchaseItem
const PurchaseItem = await prisma.purchaseItem.create({
data: {
// ... data to create a PurchaseItem
}
})
| Name | Type | Required |
|---|---|---|
| data | PurchaseItemCreateInput | PurchaseItemUncheckedCreateInput | Yes |
Delete one PurchaseItem
// Delete one PurchaseItem
const PurchaseItem = await prisma.purchaseItem.delete({
where: {
// ... filter to delete one PurchaseItem
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseItemWhereUniqueInput | Yes |
Update one PurchaseItem
// Update one PurchaseItem
const purchaseItem = await prisma.purchaseItem.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | PurchaseItemUpdateInput | PurchaseItemUncheckedUpdateInput | Yes |
| where | PurchaseItemWhereUniqueInput | Yes |
Delete zero or more PurchaseItem
// Delete a few PurchaseItem
const { count } = await prisma.purchaseItem.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseItemWhereInput | No |
| limit | Int | No |
Update zero or one PurchaseItem
const { count } = await prisma.purchaseItem.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | PurchaseItemUpdateManyMutationInput | PurchaseItemUncheckedUpdateManyInput | Yes |
| where | PurchaseItemWhereInput | No |
| limit | Int | No |
Create or update one PurchaseItem
// Update or create a PurchaseItem
const purchaseItem = await prisma.purchaseItem.upsert({
create: {
// ... data to create a PurchaseItem
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the PurchaseItem we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | PurchaseItemWhereUniqueInput | Yes |
| create | PurchaseItemCreateInput | PurchaseItemUncheckedCreateInput | Yes |
| update | PurchaseItemUpdateInput | PurchaseItemUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор рассрочки, пример: "b1c3d4e5-6f7a-4b8c-9d0e-1f2a3b4c5d6e" |
| saleId | String |
|
Yes | ID продажи, к которой относится рассрочка |
| customerId | String |
|
Yes | ID клиента, которому предоставлена рассрочка |
| totalAmount | Decimal |
|
Yes | Общая сумма рассрочки, пример: 1000.00 |
| initialPayment | Decimal |
|
Yes | Первоначальный взнос, пример: 200.00 |
| paidAmount | Decimal |
|
Yes | Сумма, уже оплаченная клиентом, пример: 300.00 |
| remaining | Decimal |
|
Yes | Остаток к оплате, пример: 700.00 |
| totalMonths | Int |
|
Yes | Изначально установленный срок рассрочки в месяцах, пример: 8 |
| monthsLeft | Int |
|
Yes | Оставшийся срок в месяцах, пересчитывается при оплатах, пример: 5 |
| monthlyPayment | Decimal |
|
Yes | Расчетный ежемесячный платеж, пример: 125.00 |
| dueDate | DateTime |
|
Yes | Крайний срок погашения рассрочки, пример: "2025-12-31T23:59:59Z" |
| status | InstallmentStatus |
|
Yes | Статус рассрочки: PENDING, PAID, OVERDUE |
| createdAt | DateTime |
|
Yes | Дата создания записи |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
| sale | Sale |
|
Yes | * * relations Связь с продажей |
| customer | OrganizationCustomer |
|
Yes | Связь с клиентом |
| payments | InstallmentPayment[] |
|
Yes | Платежи, внесенные по этой рассрочке |
Find zero or one Installment
// Get one Installment
const installment = await prisma.installment.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentWhereUniqueInput | Yes |
Find first Installment
// Get one Installment
const installment = await prisma.installment.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentWhereInput | No |
| orderBy | InstallmentOrderByWithRelationInput[] | InstallmentOrderByWithRelationInput | No |
| cursor | InstallmentWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | InstallmentScalarFieldEnum | InstallmentScalarFieldEnum[] | No |
Find zero or more Installment
// Get all Installment
const Installment = await prisma.installment.findMany()
// Get first 10 Installment
const Installment = await prisma.installment.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | InstallmentWhereInput | No |
| orderBy | InstallmentOrderByWithRelationInput[] | InstallmentOrderByWithRelationInput | No |
| cursor | InstallmentWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | InstallmentScalarFieldEnum | InstallmentScalarFieldEnum[] | No |
Create one Installment
// Create one Installment
const Installment = await prisma.installment.create({
data: {
// ... data to create a Installment
}
})
| Name | Type | Required |
|---|---|---|
| data | InstallmentCreateInput | InstallmentUncheckedCreateInput | Yes |
Delete one Installment
// Delete one Installment
const Installment = await prisma.installment.delete({
where: {
// ... filter to delete one Installment
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentWhereUniqueInput | Yes |
Update one Installment
// Update one Installment
const installment = await prisma.installment.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | InstallmentUpdateInput | InstallmentUncheckedUpdateInput | Yes |
| where | InstallmentWhereUniqueInput | Yes |
Delete zero or more Installment
// Delete a few Installment
const { count } = await prisma.installment.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentWhereInput | No |
| limit | Int | No |
Update zero or one Installment
const { count } = await prisma.installment.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | InstallmentUpdateManyMutationInput | InstallmentUncheckedUpdateManyInput | Yes |
| where | InstallmentWhereInput | No |
| limit | Int | No |
Create or update one Installment
// Update or create a Installment
const installment = await prisma.installment.upsert({
create: {
// ... data to create a Installment
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Installment we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentWhereUniqueInput | Yes |
| create | InstallmentCreateInput | InstallmentUncheckedCreateInput | Yes |
| update | InstallmentUpdateInput | InstallmentUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор платежа по рассрочке, пример: "d2f3e4b5-6c7a-4d8e-9f0b-1a2b3c4d5e6f" |
| installmentId | String |
|
Yes | ID рассрочки, к которой относится платеж |
| amount | Decimal |
|
Yes | Сумма платежа, пример: 200.00 |
| paidAt | DateTime |
|
Yes | Дата и время платежа, пример: "2025-11-02T12:00:00Z" |
| paymentMethod | String? |
|
No | Метод оплаты: cash, click, transfer и т.д., пример: "cash" |
| note | String? |
|
No | Комментарий к платежу, пример: "за ноябрь" |
| createdById | String? |
|
No | ID пользователя, создавшего запись о платеже |
| installment | Installment |
|
Yes | Связь с рассрочкой |
| created_by | User? |
|
No | Связь с пользователем, который зарегистрировал платёж |
| payment | Payment? |
|
No | Связь с основной записью платежа, если есть |
| paymentId | String? |
|
No | ID платежа |
Find zero or one InstallmentPayment
// Get one InstallmentPayment
const installmentPayment = await prisma.installmentPayment.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | Yes |
Find first InstallmentPayment
// Get one InstallmentPayment
const installmentPayment = await prisma.installmentPayment.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentPaymentWhereInput | No |
| orderBy | InstallmentPaymentOrderByWithRelationInput[] | InstallmentPaymentOrderByWithRelationInput | No |
| cursor | InstallmentPaymentWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | InstallmentPaymentScalarFieldEnum | InstallmentPaymentScalarFieldEnum[] | No |
Find zero or more InstallmentPayment
// Get all InstallmentPayment
const InstallmentPayment = await prisma.installmentPayment.findMany()
// Get first 10 InstallmentPayment
const InstallmentPayment = await prisma.installmentPayment.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | InstallmentPaymentWhereInput | No |
| orderBy | InstallmentPaymentOrderByWithRelationInput[] | InstallmentPaymentOrderByWithRelationInput | No |
| cursor | InstallmentPaymentWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | InstallmentPaymentScalarFieldEnum | InstallmentPaymentScalarFieldEnum[] | No |
Create one InstallmentPayment
// Create one InstallmentPayment
const InstallmentPayment = await prisma.installmentPayment.create({
data: {
// ... data to create a InstallmentPayment
}
})
| Name | Type | Required |
|---|---|---|
| data | InstallmentPaymentCreateInput | InstallmentPaymentUncheckedCreateInput | Yes |
Delete one InstallmentPayment
// Delete one InstallmentPayment
const InstallmentPayment = await prisma.installmentPayment.delete({
where: {
// ... filter to delete one InstallmentPayment
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | Yes |
Update one InstallmentPayment
// Update one InstallmentPayment
const installmentPayment = await prisma.installmentPayment.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | InstallmentPaymentUpdateInput | InstallmentPaymentUncheckedUpdateInput | Yes |
| where | InstallmentPaymentWhereUniqueInput | Yes |
Delete zero or more InstallmentPayment
// Delete a few InstallmentPayment
const { count } = await prisma.installmentPayment.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentPaymentWhereInput | No |
| limit | Int | No |
Update zero or one InstallmentPayment
const { count } = await prisma.installmentPayment.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | InstallmentPaymentUpdateManyMutationInput | InstallmentPaymentUncheckedUpdateManyInput | Yes |
| where | InstallmentPaymentWhereInput | No |
| limit | Int | No |
Create or update one InstallmentPayment
// Update or create a InstallmentPayment
const installmentPayment = await prisma.installmentPayment.upsert({
create: {
// ... data to create a InstallmentPayment
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the InstallmentPayment we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | Yes |
| create | InstallmentPaymentCreateInput | InstallmentPaymentUncheckedCreateInput | Yes |
| update | InstallmentPaymentUpdateInput | InstallmentPaymentUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор документа, пример: "e3f4a5b6-7c8d-4e9f-a0b1-2c3d4e5f6a7b" |
| organizationId | String |
|
Yes | ID организации, к которой относится документ |
| customerId | String? |
|
No | ID клиента, если документ связан с клиентом |
| saleId | String? |
|
No | ID продажи, если документ прикреплён к продаже |
| type | DocumentType |
|
Yes | Тип документа, пример: INVOICE, CONTRACT |
| fileUrl | String |
|
Yes | Ссылка на файл документа, пример: "https://example.com/invoice_001.pdf" |
| uploadedById | String? |
|
No | ID пользователя, загрузившего документ |
| uploadedBy | User? |
|
No | Связь с пользователем, загрузившим файл |
| createdAt | DateTime |
|
Yes | Дата загрузки документа |
| organization | Organization |
|
Yes | Связь с организацией |
| customer | OrganizationCustomer? |
|
No | Связь с клиентом, если есть |
| sale | Sale? |
|
No | Связь с продажей, если есть |
Find zero or one Document
// Get one Document
const document = await prisma.document.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | DocumentWhereUniqueInput | Yes |
Find first Document
// Get one Document
const document = await prisma.document.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | DocumentWhereInput | No |
| orderBy | DocumentOrderByWithRelationInput[] | DocumentOrderByWithRelationInput | No |
| cursor | DocumentWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | DocumentScalarFieldEnum | DocumentScalarFieldEnum[] | No |
Find zero or more Document
// Get all Document
const Document = await prisma.document.findMany()
// Get first 10 Document
const Document = await prisma.document.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | DocumentWhereInput | No |
| orderBy | DocumentOrderByWithRelationInput[] | DocumentOrderByWithRelationInput | No |
| cursor | DocumentWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | DocumentScalarFieldEnum | DocumentScalarFieldEnum[] | No |
Create one Document
// Create one Document
const Document = await prisma.document.create({
data: {
// ... data to create a Document
}
})
| Name | Type | Required |
|---|---|---|
| data | DocumentCreateInput | DocumentUncheckedCreateInput | Yes |
Delete one Document
// Delete one Document
const Document = await prisma.document.delete({
where: {
// ... filter to delete one Document
}
})
| Name | Type | Required |
|---|---|---|
| where | DocumentWhereUniqueInput | Yes |
Update one Document
// Update one Document
const document = await prisma.document.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | DocumentUpdateInput | DocumentUncheckedUpdateInput | Yes |
| where | DocumentWhereUniqueInput | Yes |
Delete zero or more Document
// Delete a few Document
const { count } = await prisma.document.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | DocumentWhereInput | No |
| limit | Int | No |
Update zero or one Document
const { count } = await prisma.document.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyInput | Yes |
| where | DocumentWhereInput | No |
| limit | Int | No |
Create or update one Document
// Update or create a Document
const document = await prisma.document.upsert({
create: {
// ... data to create a Document
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Document we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | DocumentWhereUniqueInput | Yes |
| create | DocumentCreateInput | DocumentUncheckedCreateInput | Yes |
| update | DocumentUpdateInput | DocumentUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор настроек, пример: "f1a2b3c4-5d6e-7f8a-9b0c-1d2e3f4a5b6c" |
| organizationId | String |
|
Yes | ID организации, для которой применяются настройки |
| baseCurrencyId | String |
|
Yes | ID базовой валюты организации |
| language | String? |
|
No | Язык интерфейса, пример: "ru" или "en" |
| dateFormat | String? |
|
No | Формат отображения даты |
| enableInstallment | Boolean |
|
Yes | Включена ли возможность рассрочки при продаже |
| enableNotifications | Boolean |
|
Yes | Включение уведомлений клиентам или пользователям |
| enableAutoRateUpdate | Boolean |
|
Yes | Разрешить автоматическое обновление курсов валют |
| taxPercent | Decimal? |
|
No | Общий налог, например НДС, пример: 15.0 |
| logoUrl | String? |
|
No | Ссылка на логотип организации |
| theme | ThemeType |
|
Yes | Тема интерфейса, пример: LIGHT или DARK |
| organization | Organization |
|
Yes | Связь с организацией |
| baseCurrency | Currency |
|
Yes | Связь с базовой валютой |
| createdAt | DateTime |
|
Yes | Дата создания записи |
| updatedAt | DateTime |
|
Yes | Дата последнего обновления записи |
Find zero or one Settings
// Get one Settings
const settings = await prisma.settings.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | SettingsWhereUniqueInput | Yes |
Find first Settings
// Get one Settings
const settings = await prisma.settings.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | SettingsWhereInput | No |
| orderBy | SettingsOrderByWithRelationInput[] | SettingsOrderByWithRelationInput | No |
| cursor | SettingsWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | SettingsScalarFieldEnum | SettingsScalarFieldEnum[] | No |
Find zero or more Settings
// Get all Settings
const Settings = await prisma.settings.findMany()
// Get first 10 Settings
const Settings = await prisma.settings.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | SettingsWhereInput | No |
| orderBy | SettingsOrderByWithRelationInput[] | SettingsOrderByWithRelationInput | No |
| cursor | SettingsWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | SettingsScalarFieldEnum | SettingsScalarFieldEnum[] | No |
Create one Settings
// Create one Settings
const Settings = await prisma.settings.create({
data: {
// ... data to create a Settings
}
})
| Name | Type | Required |
|---|---|---|
| data | SettingsCreateInput | SettingsUncheckedCreateInput | Yes |
Delete one Settings
// Delete one Settings
const Settings = await prisma.settings.delete({
where: {
// ... filter to delete one Settings
}
})
| Name | Type | Required |
|---|---|---|
| where | SettingsWhereUniqueInput | Yes |
Update one Settings
// Update one Settings
const settings = await prisma.settings.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | SettingsUpdateInput | SettingsUncheckedUpdateInput | Yes |
| where | SettingsWhereUniqueInput | Yes |
Delete zero or more Settings
// Delete a few Settings
const { count } = await prisma.settings.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | SettingsWhereInput | No |
| limit | Int | No |
Update zero or one Settings
const { count } = await prisma.settings.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | SettingsUpdateManyMutationInput | SettingsUncheckedUpdateManyInput | Yes |
| where | SettingsWhereInput | No |
| limit | Int | No |
Create or update one Settings
// Update or create a Settings
const settings = await prisma.settings.upsert({
create: {
// ... data to create a Settings
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the Settings we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | SettingsWhereUniqueInput | Yes |
| create | SettingsCreateInput | SettingsUncheckedCreateInput | Yes |
| update | SettingsUpdateInput | SettingsUncheckedUpdateInput | Yes |
| Name | Type | Attributes | Required | Comment |
|---|---|---|---|---|
| id | String |
|
Yes | Уникальный идентификатор записи аудита, пример: "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d" |
| organizationId | String |
|
Yes | ID организации, где произошло действие |
| userId | String? |
|
No | ID пользователя, который совершил действие, если известно |
| action | String |
|
Yes | Описание действия, пример: "CREATE", "UPDATE", "DELETE" |
| entity | String |
|
Yes | Название сущности, к которой относится действие, пример: "Product", "Sale" |
| entityId | String? |
|
No | ID сущности, к которой относится действие |
| oldValue | Json? |
|
No | Старое значение объекта перед изменением |
| newValue | Json? |
|
No | Новое значение объекта после изменения |
| note | String? |
|
No | Описание |
| createdAt | DateTime |
|
Yes | Дата и время создания записи аудита |
| organization | Organization |
|
Yes | Связь с организацией |
| user | User? |
|
No | Связь с пользователем, если есть |
Find zero or one AuditLog
// Get one AuditLog
const auditLog = await prisma.auditLog.findUnique({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | AuditLogWhereUniqueInput | Yes |
Find first AuditLog
// Get one AuditLog
const auditLog = await prisma.auditLog.findFirst({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | AuditLogWhereInput | No |
| orderBy | AuditLogOrderByWithRelationInput[] | AuditLogOrderByWithRelationInput | No |
| cursor | AuditLogWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] | No |
Find zero or more AuditLog
// Get all AuditLog
const AuditLog = await prisma.auditLog.findMany()
// Get first 10 AuditLog
const AuditLog = await prisma.auditLog.findMany({ take: 10 })
| Name | Type | Required |
|---|---|---|
| where | AuditLogWhereInput | No |
| orderBy | AuditLogOrderByWithRelationInput[] | AuditLogOrderByWithRelationInput | No |
| cursor | AuditLogWhereUniqueInput | No |
| take | Int | No |
| skip | Int | No |
| distinct | AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] | No |
Create one AuditLog
// Create one AuditLog
const AuditLog = await prisma.auditLog.create({
data: {
// ... data to create a AuditLog
}
})
| Name | Type | Required |
|---|---|---|
| data | AuditLogCreateInput | AuditLogUncheckedCreateInput | Yes |
Delete one AuditLog
// Delete one AuditLog
const AuditLog = await prisma.auditLog.delete({
where: {
// ... filter to delete one AuditLog
}
})
| Name | Type | Required |
|---|---|---|
| where | AuditLogWhereUniqueInput | Yes |
Update one AuditLog
// Update one AuditLog
const auditLog = await prisma.auditLog.update({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | AuditLogUpdateInput | AuditLogUncheckedUpdateInput | Yes |
| where | AuditLogWhereUniqueInput | Yes |
Delete zero or more AuditLog
// Delete a few AuditLog
const { count } = await prisma.auditLog.deleteMany({
where: {
// ... provide filter here
}
})
| Name | Type | Required |
|---|---|---|
| where | AuditLogWhereInput | No |
| limit | Int | No |
Update zero or one AuditLog
const { count } = await prisma.auditLog.updateMany({
where: {
// ... provide filter here
},
data: {
// ... provide data here
}
})
| Name | Type | Required |
|---|---|---|
| data | AuditLogUpdateManyMutationInput | AuditLogUncheckedUpdateManyInput | Yes |
| where | AuditLogWhereInput | No |
| limit | Int | No |
Create or update one AuditLog
// Update or create a AuditLog
const auditLog = await prisma.auditLog.upsert({
create: {
// ... data to create a AuditLog
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the AuditLog we want to update
}
})
| Name | Type | Required |
|---|---|---|
| where | AuditLogWhereUniqueInput | Yes |
| create | AuditLogCreateInput | AuditLogUncheckedCreateInput | Yes |
| update | AuditLogUpdateInput | AuditLogUncheckedUpdateInput | Yes |
| Name | Type | Nullable |
|---|---|---|
| AND | CurrencyWhereInput | CurrencyWhereInput[] | No |
| OR | CurrencyWhereInput[] | No |
| NOT | CurrencyWhereInput | CurrencyWhereInput[] | No |
| id | StringFilter | String | No |
| code | StringFilter | String | No |
| name | StringFilter | String | No |
| symbol | StringFilter | String | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| product_prices | ProductPriceListRelationFilter | No |
| kassas | KassaListRelationFilter | No |
| payments | PaymentListRelationFilter | No |
| transactions | TransactionListRelationFilter | No |
| sales | SaleListRelationFilter | No |
| sale_items | SaleItemListRelationFilter | No |
| purchases | PurchaseListRelationFilter | No |
| from_transfers | KassaTransferListRelationFilter | No |
| to_transfers | KassaTransferListRelationFilter | No |
| settings | SettingsListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| code | SortOrder | No |
| name | SortOrder | No |
| symbol | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| product_prices | ProductPriceOrderByRelationAggregateInput | No |
| kassas | KassaOrderByRelationAggregateInput | No |
| payments | PaymentOrderByRelationAggregateInput | No |
| transactions | TransactionOrderByRelationAggregateInput | No |
| sales | SaleOrderByRelationAggregateInput | No |
| sale_items | SaleItemOrderByRelationAggregateInput | No |
| purchases | PurchaseOrderByRelationAggregateInput | No |
| from_transfers | KassaTransferOrderByRelationAggregateInput | No |
| to_transfers | KassaTransferOrderByRelationAggregateInput | No |
| settings | SettingsOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| AND | CurrencyWhereInput | CurrencyWhereInput[] | No |
| OR | CurrencyWhereInput[] | No |
| NOT | CurrencyWhereInput | CurrencyWhereInput[] | No |
| name | StringFilter | String | No |
| symbol | StringFilter | String | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| product_prices | ProductPriceListRelationFilter | No |
| kassas | KassaListRelationFilter | No |
| payments | PaymentListRelationFilter | No |
| transactions | TransactionListRelationFilter | No |
| sales | SaleListRelationFilter | No |
| sale_items | SaleItemListRelationFilter | No |
| purchases | PurchaseListRelationFilter | No |
| from_transfers | KassaTransferListRelationFilter | No |
| to_transfers | KassaTransferListRelationFilter | No |
| settings | SettingsListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| code | SortOrder | No |
| name | SortOrder | No |
| symbol | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | CurrencyCountOrderByAggregateInput | No |
| _max | CurrencyMaxOrderByAggregateInput | No |
| _min | CurrencyMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | CurrencyScalarWhereWithAggregatesInput | CurrencyScalarWhereWithAggregatesInput[] | No |
| OR | CurrencyScalarWhereWithAggregatesInput[] | No |
| NOT | CurrencyScalarWhereWithAggregatesInput | CurrencyScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| code | StringWithAggregatesFilter | String | No |
| name | StringWithAggregatesFilter | String | No |
| symbol | StringWithAggregatesFilter | String | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | CurrencyRateWhereInput | CurrencyRateWhereInput[] | No |
| OR | CurrencyRateWhereInput[] | No |
| NOT | CurrencyRateWhereInput | CurrencyRateWhereInput[] | No |
| id | StringFilter | String | No |
| baseCurrency | StringFilter | String | No |
| targetCurrency | StringFilter | String | No |
| rate | DecimalFilter | Decimal | No |
| date | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| baseCurrency | SortOrder | No |
| targetCurrency | SortOrder | No |
| rate | SortOrder | No |
| date | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | CurrencyRateWhereInput | CurrencyRateWhereInput[] | No |
| OR | CurrencyRateWhereInput[] | No |
| NOT | CurrencyRateWhereInput | CurrencyRateWhereInput[] | No |
| baseCurrency | StringFilter | String | No |
| targetCurrency | StringFilter | String | No |
| rate | DecimalFilter | Decimal | No |
| date | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| baseCurrency | SortOrder | No |
| targetCurrency | SortOrder | No |
| rate | SortOrder | No |
| date | SortOrder | No |
| _count | CurrencyRateCountOrderByAggregateInput | No |
| _avg | CurrencyRateAvgOrderByAggregateInput | No |
| _max | CurrencyRateMaxOrderByAggregateInput | No |
| _min | CurrencyRateMinOrderByAggregateInput | No |
| _sum | CurrencyRateSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | CurrencyRateScalarWhereWithAggregatesInput | CurrencyRateScalarWhereWithAggregatesInput[] | No |
| OR | CurrencyRateScalarWhereWithAggregatesInput[] | No |
| NOT | CurrencyRateScalarWhereWithAggregatesInput | CurrencyRateScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| baseCurrency | StringWithAggregatesFilter | String | No |
| targetCurrency | StringWithAggregatesFilter | String | No |
| rate | DecimalWithAggregatesFilter | Decimal | No |
| date | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| address | SortOrder | SortOrderInput | No |
| phone | SortOrder | SortOrderInput | No |
| SortOrder | SortOrderInput | No | |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | OrganizationCountOrderByAggregateInput | No |
| _max | OrganizationMaxOrderByAggregateInput | No |
| _min | OrganizationMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] | No |
| OR | OrganizationScalarWhereWithAggregatesInput[] | No |
| NOT | OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| name | StringWithAggregatesFilter | String | No |
| address | StringNullableWithAggregatesFilter | String | Null | Yes |
| phone | StringNullableWithAggregatesFilter | String | Null | Yes |
| StringNullableWithAggregatesFilter | String | Null | Yes | |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | UserWhereInput | UserWhereInput[] | No |
| OR | UserWhereInput[] | No |
| NOT | UserWhereInput | UserWhereInput[] | No |
| id | StringFilter | String | No |
| StringNullableFilter | String | Null | Yes | |
| password | StringFilter | String | No |
| isActive | BoolFilter | Boolean | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| roleId | StringNullableFilter | String | Null | Yes |
| profile | UserProfileNullableScalarRelationFilter | UserProfileWhereInput | Null | Yes |
| role | RoleNullableScalarRelationFilter | RoleWhereInput | Null | Yes |
| org_links | OrganizationUserListRelationFilter | No |
| cutomer_links | OrganizationCustomerListRelationFilter | No |
| payments | PaymentListRelationFilter | No |
| sales | SaleListRelationFilter | No |
| purchases | PurchaseListRelationFilter | No |
| phone_numbers | UserPhoneListRelationFilter | No |
| audit_logs | AuditLogListRelationFilter | No |
| documents | DocumentListRelationFilter | No |
| installment_payments | InstallmentPaymentListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| SortOrder | SortOrderInput | No | |
| password | SortOrder | No |
| isActive | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| roleId | SortOrder | SortOrderInput | No |
| profile | UserProfileOrderByWithRelationInput | No |
| role | RoleOrderByWithRelationInput | No |
| org_links | OrganizationUserOrderByRelationAggregateInput | No |
| cutomer_links | OrganizationCustomerOrderByRelationAggregateInput | No |
| payments | PaymentOrderByRelationAggregateInput | No |
| sales | SaleOrderByRelationAggregateInput | No |
| purchases | PurchaseOrderByRelationAggregateInput | No |
| phone_numbers | UserPhoneOrderByRelationAggregateInput | No |
| audit_logs | AuditLogOrderByRelationAggregateInput | No |
| documents | DocumentOrderByRelationAggregateInput | No |
| installment_payments | InstallmentPaymentOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | No | |
| AND | UserWhereInput | UserWhereInput[] | No |
| OR | UserWhereInput[] | No |
| NOT | UserWhereInput | UserWhereInput[] | No |
| password | StringFilter | String | No |
| isActive | BoolFilter | Boolean | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| roleId | StringNullableFilter | String | Null | Yes |
| profile | UserProfileNullableScalarRelationFilter | UserProfileWhereInput | Null | Yes |
| role | RoleNullableScalarRelationFilter | RoleWhereInput | Null | Yes |
| org_links | OrganizationUserListRelationFilter | No |
| cutomer_links | OrganizationCustomerListRelationFilter | No |
| payments | PaymentListRelationFilter | No |
| sales | SaleListRelationFilter | No |
| purchases | PurchaseListRelationFilter | No |
| phone_numbers | UserPhoneListRelationFilter | No |
| audit_logs | AuditLogListRelationFilter | No |
| documents | DocumentListRelationFilter | No |
| installment_payments | InstallmentPaymentListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| SortOrder | SortOrderInput | No | |
| password | SortOrder | No |
| isActive | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| roleId | SortOrder | SortOrderInput | No |
| _count | UserCountOrderByAggregateInput | No |
| _max | UserMaxOrderByAggregateInput | No |
| _min | UserMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] | No |
| OR | UserScalarWhereWithAggregatesInput[] | No |
| NOT | UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| StringNullableWithAggregatesFilter | String | Null | Yes | |
| password | StringWithAggregatesFilter | String | No |
| isActive | BoolWithAggregatesFilter | Boolean | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| roleId | StringNullableWithAggregatesFilter | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| AND | UserProfileWhereInput | UserProfileWhereInput[] | No |
| OR | UserProfileWhereInput[] | No |
| NOT | UserProfileWhereInput | UserProfileWhereInput[] | No |
| id | StringFilter | String | No |
| userId | StringFilter | String | No |
| firstName | StringFilter | String | No |
| lastName | StringFilter | String | No |
| patronymic | StringNullableFilter | String | Null | Yes |
| dateOfBirth | DateTimeNullableFilter | DateTime | Null | Yes |
| gender | EnumGenderFilter | Gender | No |
| passportSeries | StringNullableFilter | String | Null | Yes |
| passportNumber | StringNullableFilter | String | Null | Yes |
| issuedBy | StringNullableFilter | String | Null | Yes |
| issuedDate | DateTimeNullableFilter | DateTime | Null | Yes |
| expiryDate | DateTimeNullableFilter | DateTime | Null | Yes |
| country | StringNullableFilter | String | Null | Yes |
| region | StringNullableFilter | String | Null | Yes |
| city | StringNullableFilter | String | Null | Yes |
| address | StringNullableFilter | String | Null | Yes |
| registration | StringNullableFilter | String | Null | Yes |
| district | StringNullableFilter | String | Null | Yes |
| user | UserScalarRelationFilter | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | SortOrderInput | No |
| dateOfBirth | SortOrder | SortOrderInput | No |
| gender | SortOrder | No |
| passportSeries | SortOrder | SortOrderInput | No |
| passportNumber | SortOrder | SortOrderInput | No |
| issuedBy | SortOrder | SortOrderInput | No |
| issuedDate | SortOrder | SortOrderInput | No |
| expiryDate | SortOrder | SortOrderInput | No |
| country | SortOrder | SortOrderInput | No |
| region | SortOrder | SortOrderInput | No |
| city | SortOrder | SortOrderInput | No |
| address | SortOrder | SortOrderInput | No |
| registration | SortOrder | SortOrderInput | No |
| district | SortOrder | SortOrderInput | No |
| user | UserOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| AND | UserProfileWhereInput | UserProfileWhereInput[] | No |
| OR | UserProfileWhereInput[] | No |
| NOT | UserProfileWhereInput | UserProfileWhereInput[] | No |
| firstName | StringFilter | String | No |
| lastName | StringFilter | String | No |
| patronymic | StringNullableFilter | String | Null | Yes |
| dateOfBirth | DateTimeNullableFilter | DateTime | Null | Yes |
| gender | EnumGenderFilter | Gender | No |
| passportSeries | StringNullableFilter | String | Null | Yes |
| passportNumber | StringNullableFilter | String | Null | Yes |
| issuedBy | StringNullableFilter | String | Null | Yes |
| issuedDate | DateTimeNullableFilter | DateTime | Null | Yes |
| expiryDate | DateTimeNullableFilter | DateTime | Null | Yes |
| country | StringNullableFilter | String | Null | Yes |
| region | StringNullableFilter | String | Null | Yes |
| city | StringNullableFilter | String | Null | Yes |
| address | StringNullableFilter | String | Null | Yes |
| registration | StringNullableFilter | String | Null | Yes |
| district | StringNullableFilter | String | Null | Yes |
| user | UserScalarRelationFilter | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | SortOrderInput | No |
| dateOfBirth | SortOrder | SortOrderInput | No |
| gender | SortOrder | No |
| passportSeries | SortOrder | SortOrderInput | No |
| passportNumber | SortOrder | SortOrderInput | No |
| issuedBy | SortOrder | SortOrderInput | No |
| issuedDate | SortOrder | SortOrderInput | No |
| expiryDate | SortOrder | SortOrderInput | No |
| country | SortOrder | SortOrderInput | No |
| region | SortOrder | SortOrderInput | No |
| city | SortOrder | SortOrderInput | No |
| address | SortOrder | SortOrderInput | No |
| registration | SortOrder | SortOrderInput | No |
| district | SortOrder | SortOrderInput | No |
| _count | UserProfileCountOrderByAggregateInput | No |
| _max | UserProfileMaxOrderByAggregateInput | No |
| _min | UserProfileMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | RoleWhereInput | RoleWhereInput[] | No |
| OR | RoleWhereInput[] | No |
| NOT | RoleWhereInput | RoleWhereInput[] | No |
| id | StringFilter | String | No |
| name | StringFilter | String | No |
| description | StringNullableFilter | String | Null | Yes |
| users | UserListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| users | UserOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| AND | RoleWhereInput | RoleWhereInput[] | No |
| OR | RoleWhereInput[] | No |
| NOT | RoleWhereInput | RoleWhereInput[] | No |
| description | StringNullableFilter | String | Null | Yes |
| users | UserListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| _count | RoleCountOrderByAggregateInput | No |
| _max | RoleMaxOrderByAggregateInput | No |
| _min | RoleMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | RoleScalarWhereWithAggregatesInput | RoleScalarWhereWithAggregatesInput[] | No |
| OR | RoleScalarWhereWithAggregatesInput[] | No |
| NOT | RoleScalarWhereWithAggregatesInput | RoleScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| name | StringWithAggregatesFilter | String | No |
| description | StringNullableWithAggregatesFilter | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| AND | UserPhoneWhereInput | UserPhoneWhereInput[] | No |
| OR | UserPhoneWhereInput[] | No |
| NOT | UserPhoneWhereInput | UserPhoneWhereInput[] | No |
| id | StringFilter | String | No |
| userId | StringFilter | String | No |
| phone | StringFilter | String | No |
| note | StringNullableFilter | String | Null | Yes |
| isPrimary | BoolFilter | Boolean | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| user | UserScalarRelationFilter | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| phone | SortOrder | No |
| note | SortOrder | SortOrderInput | No |
| isPrimary | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| user | UserOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| phone | String | No |
| AND | UserPhoneWhereInput | UserPhoneWhereInput[] | No |
| OR | UserPhoneWhereInput[] | No |
| NOT | UserPhoneWhereInput | UserPhoneWhereInput[] | No |
| userId | StringFilter | String | No |
| note | StringNullableFilter | String | Null | Yes |
| isPrimary | BoolFilter | Boolean | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| user | UserScalarRelationFilter | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| phone | SortOrder | No |
| note | SortOrder | SortOrderInput | No |
| isPrimary | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | UserPhoneCountOrderByAggregateInput | No |
| _max | UserPhoneMaxOrderByAggregateInput | No |
| _min | UserPhoneMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | UserPhoneScalarWhereWithAggregatesInput | UserPhoneScalarWhereWithAggregatesInput[] | No |
| OR | UserPhoneScalarWhereWithAggregatesInput[] | No |
| NOT | UserPhoneScalarWhereWithAggregatesInput | UserPhoneScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| userId | StringWithAggregatesFilter | String | No |
| phone | StringWithAggregatesFilter | String | No |
| note | StringNullableWithAggregatesFilter | String | Null | Yes |
| isPrimary | BoolWithAggregatesFilter | Boolean | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | OrganizationUserWhereInput | OrganizationUserWhereInput[] | No |
| OR | OrganizationUserWhereInput[] | No |
| NOT | OrganizationUserWhereInput | OrganizationUserWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| userId | StringFilter | String | No |
| role | EnumOrgUserRoleFilter | OrgUserRole | No |
| position | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| user | UserScalarRelationFilter | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| role | SortOrder | No |
| position | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| user | UserOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | OrganizationUserWhereInput | OrganizationUserWhereInput[] | No |
| OR | OrganizationUserWhereInput[] | No |
| NOT | OrganizationUserWhereInput | OrganizationUserWhereInput[] | No |
| organizationId | StringFilter | String | No |
| userId | StringFilter | String | No |
| role | EnumOrgUserRoleFilter | OrgUserRole | No |
| position | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| user | UserScalarRelationFilter | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| role | SortOrder | No |
| position | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | OrganizationUserCountOrderByAggregateInput | No |
| _max | OrganizationUserMaxOrderByAggregateInput | No |
| _min | OrganizationUserMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | OrganizationUserScalarWhereWithAggregatesInput | OrganizationUserScalarWhereWithAggregatesInput[] | No |
| OR | OrganizationUserScalarWhereWithAggregatesInput[] | No |
| NOT | OrganizationUserScalarWhereWithAggregatesInput | OrganizationUserScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| userId | StringWithAggregatesFilter | String | No |
| role | EnumOrgUserRoleWithAggregatesFilter | OrgUserRole | No |
| position | StringNullableWithAggregatesFilter | String | Null | Yes |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | SortOrderInput | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | SortOrderInput | No |
| phone | SortOrder | No |
| type | SortOrder | No |
| isBlacklisted | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| user | UserOrderByWithRelationInput | No |
| product_instances | ProductInstanceOrderByRelationAggregateInput | No |
| payments | PaymentOrderByRelationAggregateInput | No |
| transactions | TransactionOrderByRelationAggregateInput | No |
| sales | SaleOrderByRelationAggregateInput | No |
| purchases | PurchaseOrderByRelationAggregateInput | No |
| installments | InstallmentOrderByRelationAggregateInput | No |
| documents | DocumentOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | SortOrderInput | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | SortOrderInput | No |
| phone | SortOrder | No |
| type | SortOrder | No |
| isBlacklisted | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | OrganizationCustomerCountOrderByAggregateInput | No |
| _max | OrganizationCustomerMaxOrderByAggregateInput | No |
| _min | OrganizationCustomerMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | OrganizationCustomerScalarWhereWithAggregatesInput | OrganizationCustomerScalarWhereWithAggregatesInput[] | No |
| OR | OrganizationCustomerScalarWhereWithAggregatesInput[] | No |
| NOT | OrganizationCustomerScalarWhereWithAggregatesInput | OrganizationCustomerScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| userId | StringNullableWithAggregatesFilter | String | Null | Yes |
| firstName | StringWithAggregatesFilter | String | No |
| lastName | StringWithAggregatesFilter | String | No |
| patronymic | StringNullableWithAggregatesFilter | String | Null | Yes |
| phone | StringWithAggregatesFilter | String | No |
| type | EnumCustomerTypeWithAggregatesFilter | CustomerType | No |
| isBlacklisted | BoolWithAggregatesFilter | Boolean | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | BrandWhereInput | BrandWhereInput[] | No |
| OR | BrandWhereInput[] | No |
| NOT | BrandWhereInput | BrandWhereInput[] | No |
| id | StringFilter | String | No |
| name | StringFilter | String | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| products | ProductListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| products | ProductOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| AND | BrandWhereInput | BrandWhereInput[] | No |
| OR | BrandWhereInput[] | No |
| NOT | BrandWhereInput | BrandWhereInput[] | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| products | ProductListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | BrandCountOrderByAggregateInput | No |
| _max | BrandMaxOrderByAggregateInput | No |
| _min | BrandMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | BrandScalarWhereWithAggregatesInput | BrandScalarWhereWithAggregatesInput[] | No |
| OR | BrandScalarWhereWithAggregatesInput[] | No |
| NOT | BrandScalarWhereWithAggregatesInput | BrandScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| name | StringWithAggregatesFilter | String | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| expiry_date | SortOrder | SortOrderInput | No |
| serial_number | SortOrder | SortOrderInput | No |
| barcode | SortOrder | SortOrderInput | No |
| brandId | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| brand | BrandOrderByWithRelationInput | No |
| categories | ProductCategoryOrderByRelationAggregateInput | No |
| prices | ProductPriceOrderByRelationAggregateInput | No |
| instances | ProductInstanceOrderByRelationAggregateInput | No |
| sele_items | SaleItemOrderByRelationAggregateInput | No |
| purchase_items | PurchaseItemOrderByRelationAggregateInput | No |
| stocks | StockOrderByRelationAggregateInput | No |
| product_batches | ProductBatchOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| serial_number | String | No |
| barcode | String | No |
| AND | ProductWhereInput | ProductWhereInput[] | No |
| OR | ProductWhereInput[] | No |
| NOT | ProductWhereInput | ProductWhereInput[] | No |
| organizationId | StringFilter | String | No |
| name | StringFilter | String | No |
| description | StringNullableFilter | String | Null | Yes |
| expiry_date | DateTimeNullableFilter | DateTime | Null | Yes |
| brandId | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| brand | BrandNullableScalarRelationFilter | BrandWhereInput | Null | Yes |
| categories | ProductCategoryListRelationFilter | No |
| prices | ProductPriceListRelationFilter | No |
| instances | ProductInstanceListRelationFilter | No |
| sele_items | SaleItemListRelationFilter | No |
| purchase_items | PurchaseItemListRelationFilter | No |
| stocks | StockListRelationFilter | No |
| product_batches | ProductBatchListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| expiry_date | SortOrder | SortOrderInput | No |
| serial_number | SortOrder | SortOrderInput | No |
| barcode | SortOrder | SortOrderInput | No |
| brandId | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | ProductCountOrderByAggregateInput | No |
| _max | ProductMaxOrderByAggregateInput | No |
| _min | ProductMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductScalarWhereWithAggregatesInput | ProductScalarWhereWithAggregatesInput[] | No |
| OR | ProductScalarWhereWithAggregatesInput[] | No |
| NOT | ProductScalarWhereWithAggregatesInput | ProductScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| name | StringWithAggregatesFilter | String | No |
| description | StringNullableWithAggregatesFilter | String | Null | Yes |
| expiry_date | DateTimeNullableWithAggregatesFilter | DateTime | Null | Yes |
| serial_number | StringNullableWithAggregatesFilter | String | Null | Yes |
| barcode | StringNullableWithAggregatesFilter | String | Null | Yes |
| brandId | StringNullableWithAggregatesFilter | String | Null | Yes |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | CategoryWhereInput | CategoryWhereInput[] | No |
| OR | CategoryWhereInput[] | No |
| NOT | CategoryWhereInput | CategoryWhereInput[] | No |
| id | StringFilter | String | No |
| name | StringFilter | String | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| products | ProductCategoryListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| products | ProductCategoryOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| AND | CategoryWhereInput | CategoryWhereInput[] | No |
| OR | CategoryWhereInput[] | No |
| NOT | CategoryWhereInput | CategoryWhereInput[] | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| products | ProductCategoryListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | CategoryCountOrderByAggregateInput | No |
| _max | CategoryMaxOrderByAggregateInput | No |
| _min | CategoryMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | CategoryScalarWhereWithAggregatesInput | CategoryScalarWhereWithAggregatesInput[] | No |
| OR | CategoryScalarWhereWithAggregatesInput[] | No |
| NOT | CategoryScalarWhereWithAggregatesInput | CategoryScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| name | StringWithAggregatesFilter | String | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductCategoryWhereInput | ProductCategoryWhereInput[] | No |
| OR | ProductCategoryWhereInput[] | No |
| NOT | ProductCategoryWhereInput | ProductCategoryWhereInput[] | No |
| productId | StringFilter | String | No |
| categoryId | StringFilter | String | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| category | CategoryScalarRelationFilter | CategoryWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | SortOrder | No |
| categoryId | SortOrder | No |
| product | ProductOrderByWithRelationInput | No |
| category | CategoryOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId_categoryId | ProductCategoryProductIdCategoryIdCompoundUniqueInput | No |
| AND | ProductCategoryWhereInput | ProductCategoryWhereInput[] | No |
| OR | ProductCategoryWhereInput[] | No |
| NOT | ProductCategoryWhereInput | ProductCategoryWhereInput[] | No |
| productId | StringFilter | String | No |
| categoryId | StringFilter | String | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| category | CategoryScalarRelationFilter | CategoryWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | SortOrder | No |
| categoryId | SortOrder | No |
| _count | ProductCategoryCountOrderByAggregateInput | No |
| _max | ProductCategoryMaxOrderByAggregateInput | No |
| _min | ProductCategoryMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductCategoryScalarWhereWithAggregatesInput | ProductCategoryScalarWhereWithAggregatesInput[] | No |
| OR | ProductCategoryScalarWhereWithAggregatesInput[] | No |
| NOT | ProductCategoryScalarWhereWithAggregatesInput | ProductCategoryScalarWhereWithAggregatesInput[] | No |
| productId | StringWithAggregatesFilter | String | No |
| categoryId | StringWithAggregatesFilter | String | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductPriceWhereInput | ProductPriceWhereInput[] | No |
| OR | ProductPriceWhereInput[] | No |
| NOT | ProductPriceWhereInput | ProductPriceWhereInput[] | No |
| id | StringFilter | String | No |
| productId | StringFilter | String | No |
| organizationId | StringNullableFilter | String | Null | Yes |
| priceType | EnumPriceTypeFilter | PriceType | No |
| amount | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| customerType | EnumCustomerTypeNullableFilter | CustomerType | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| organization | OrganizationNullableScalarRelationFilter | OrganizationWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| organizationId | SortOrder | SortOrderInput | No |
| priceType | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| customerType | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| currency | CurrencyOrderByWithRelationInput | No |
| product | ProductOrderByWithRelationInput | No |
| organization | OrganizationOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | ProductPriceWhereInput | ProductPriceWhereInput[] | No |
| OR | ProductPriceWhereInput[] | No |
| NOT | ProductPriceWhereInput | ProductPriceWhereInput[] | No |
| productId | StringFilter | String | No |
| organizationId | StringNullableFilter | String | Null | Yes |
| priceType | EnumPriceTypeFilter | PriceType | No |
| amount | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| customerType | EnumCustomerTypeNullableFilter | CustomerType | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| organization | OrganizationNullableScalarRelationFilter | OrganizationWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| organizationId | SortOrder | SortOrderInput | No |
| priceType | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| customerType | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | ProductPriceCountOrderByAggregateInput | No |
| _avg | ProductPriceAvgOrderByAggregateInput | No |
| _max | ProductPriceMaxOrderByAggregateInput | No |
| _min | ProductPriceMinOrderByAggregateInput | No |
| _sum | ProductPriceSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductPriceScalarWhereWithAggregatesInput | ProductPriceScalarWhereWithAggregatesInput[] | No |
| OR | ProductPriceScalarWhereWithAggregatesInput[] | No |
| NOT | ProductPriceScalarWhereWithAggregatesInput | ProductPriceScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| productId | StringWithAggregatesFilter | String | No |
| organizationId | StringNullableWithAggregatesFilter | String | Null | Yes |
| priceType | EnumPriceTypeWithAggregatesFilter | PriceType | No |
| amount | DecimalWithAggregatesFilter | Decimal | No |
| currencyId | StringWithAggregatesFilter | String | No |
| customerType | EnumCustomerTypeNullableWithAggregatesFilter | CustomerType | Null | Yes |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductInstanceWhereInput | ProductInstanceWhereInput[] | No |
| OR | ProductInstanceWhereInput[] | No |
| NOT | ProductInstanceWhereInput | ProductInstanceWhereInput[] | No |
| id | StringFilter | String | No |
| productId | StringFilter | String | No |
| serialNumber | StringFilter | String | No |
| currentOwnerId | StringNullableFilter | String | Null | Yes |
| currentStatus | EnumProductStatusFilter | ProductStatus | No |
| organizationId | StringFilter | String | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| current_owner | OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null | Yes |
| transactions | ProductTransactionListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| serialNumber | SortOrder | No |
| currentOwnerId | SortOrder | SortOrderInput | No |
| currentStatus | SortOrder | No |
| organizationId | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| product | ProductOrderByWithRelationInput | No |
| organization | OrganizationOrderByWithRelationInput | No |
| current_owner | OrganizationCustomerOrderByWithRelationInput | No |
| transactions | ProductTransactionOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| serialNumber | String | No |
| AND | ProductInstanceWhereInput | ProductInstanceWhereInput[] | No |
| OR | ProductInstanceWhereInput[] | No |
| NOT | ProductInstanceWhereInput | ProductInstanceWhereInput[] | No |
| productId | StringFilter | String | No |
| currentOwnerId | StringNullableFilter | String | Null | Yes |
| currentStatus | EnumProductStatusFilter | ProductStatus | No |
| organizationId | StringFilter | String | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| current_owner | OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null | Yes |
| transactions | ProductTransactionListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| serialNumber | SortOrder | No |
| currentOwnerId | SortOrder | SortOrderInput | No |
| currentStatus | SortOrder | No |
| organizationId | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | ProductInstanceCountOrderByAggregateInput | No |
| _max | ProductInstanceMaxOrderByAggregateInput | No |
| _min | ProductInstanceMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductInstanceScalarWhereWithAggregatesInput | ProductInstanceScalarWhereWithAggregatesInput[] | No |
| OR | ProductInstanceScalarWhereWithAggregatesInput[] | No |
| NOT | ProductInstanceScalarWhereWithAggregatesInput | ProductInstanceScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| productId | StringWithAggregatesFilter | String | No |
| serialNumber | StringWithAggregatesFilter | String | No |
| currentOwnerId | StringNullableWithAggregatesFilter | String | Null | Yes |
| currentStatus | EnumProductStatusWithAggregatesFilter | ProductStatus | No |
| organizationId | StringWithAggregatesFilter | String | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductTransactionWhereInput | ProductTransactionWhereInput[] | No |
| OR | ProductTransactionWhereInput[] | No |
| NOT | ProductTransactionWhereInput | ProductTransactionWhereInput[] | No |
| id | StringFilter | String | No |
| productInstanceId | StringFilter | String | No |
| fromCustomerId | StringNullableFilter | String | Null | Yes |
| toCustomerId | StringNullableFilter | String | Null | Yes |
| toOrganizationId | StringNullableFilter | String | Null | Yes |
| saleId | StringNullableFilter | String | Null | Yes |
| action | EnumProductActionFilter | ProductAction | No |
| date | DateTimeFilter | DateTime | No |
| description | StringNullableFilter | String | Null | Yes |
| product_instance | ProductInstanceScalarRelationFilter | ProductInstanceWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productInstanceId | SortOrder | No |
| fromCustomerId | SortOrder | SortOrderInput | No |
| toCustomerId | SortOrder | SortOrderInput | No |
| toOrganizationId | SortOrder | SortOrderInput | No |
| saleId | SortOrder | SortOrderInput | No |
| action | SortOrder | No |
| date | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| product_instance | ProductInstanceOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | ProductTransactionWhereInput | ProductTransactionWhereInput[] | No |
| OR | ProductTransactionWhereInput[] | No |
| NOT | ProductTransactionWhereInput | ProductTransactionWhereInput[] | No |
| productInstanceId | StringFilter | String | No |
| fromCustomerId | StringNullableFilter | String | Null | Yes |
| toCustomerId | StringNullableFilter | String | Null | Yes |
| toOrganizationId | StringNullableFilter | String | Null | Yes |
| saleId | StringNullableFilter | String | Null | Yes |
| action | EnumProductActionFilter | ProductAction | No |
| date | DateTimeFilter | DateTime | No |
| description | StringNullableFilter | String | Null | Yes |
| product_instance | ProductInstanceScalarRelationFilter | ProductInstanceWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productInstanceId | SortOrder | No |
| fromCustomerId | SortOrder | SortOrderInput | No |
| toCustomerId | SortOrder | SortOrderInput | No |
| toOrganizationId | SortOrder | SortOrderInput | No |
| saleId | SortOrder | SortOrderInput | No |
| action | SortOrder | No |
| date | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| _count | ProductTransactionCountOrderByAggregateInput | No |
| _max | ProductTransactionMaxOrderByAggregateInput | No |
| _min | ProductTransactionMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductTransactionScalarWhereWithAggregatesInput | ProductTransactionScalarWhereWithAggregatesInput[] | No |
| OR | ProductTransactionScalarWhereWithAggregatesInput[] | No |
| NOT | ProductTransactionScalarWhereWithAggregatesInput | ProductTransactionScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| productInstanceId | StringWithAggregatesFilter | String | No |
| fromCustomerId | StringNullableWithAggregatesFilter | String | Null | Yes |
| toCustomerId | StringNullableWithAggregatesFilter | String | Null | Yes |
| toOrganizationId | StringNullableWithAggregatesFilter | String | Null | Yes |
| saleId | StringNullableWithAggregatesFilter | String | Null | Yes |
| action | EnumProductActionWithAggregatesFilter | ProductAction | No |
| date | DateTimeWithAggregatesFilter | DateTime | No |
| description | StringNullableWithAggregatesFilter | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductBatchWhereInput | ProductBatchWhereInput[] | No |
| OR | ProductBatchWhereInput[] | No |
| NOT | ProductBatchWhereInput | ProductBatchWhereInput[] | No |
| id | StringFilter | String | No |
| productId | StringFilter | String | No |
| batchNumber | StringFilter | String | No |
| expiryDate | DateTimeNullableFilter | DateTime | Null | Yes |
| quantity | IntFilter | Int | No |
| isValid | BoolFilter | Boolean | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| batchNumber | SortOrder | No |
| expiryDate | SortOrder | SortOrderInput | No |
| quantity | SortOrder | No |
| isValid | SortOrder | No |
| product | ProductOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | ProductBatchWhereInput | ProductBatchWhereInput[] | No |
| OR | ProductBatchWhereInput[] | No |
| NOT | ProductBatchWhereInput | ProductBatchWhereInput[] | No |
| productId | StringFilter | String | No |
| batchNumber | StringFilter | String | No |
| expiryDate | DateTimeNullableFilter | DateTime | Null | Yes |
| quantity | IntFilter | Int | No |
| isValid | BoolFilter | Boolean | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| batchNumber | SortOrder | No |
| expiryDate | SortOrder | SortOrderInput | No |
| quantity | SortOrder | No |
| isValid | SortOrder | No |
| _count | ProductBatchCountOrderByAggregateInput | No |
| _avg | ProductBatchAvgOrderByAggregateInput | No |
| _max | ProductBatchMaxOrderByAggregateInput | No |
| _min | ProductBatchMinOrderByAggregateInput | No |
| _sum | ProductBatchSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductBatchScalarWhereWithAggregatesInput | ProductBatchScalarWhereWithAggregatesInput[] | No |
| OR | ProductBatchScalarWhereWithAggregatesInput[] | No |
| NOT | ProductBatchScalarWhereWithAggregatesInput | ProductBatchScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| productId | StringWithAggregatesFilter | String | No |
| batchNumber | StringWithAggregatesFilter | String | No |
| expiryDate | DateTimeNullableWithAggregatesFilter | DateTime | Null | Yes |
| quantity | IntWithAggregatesFilter | Int | No |
| isValid | BoolWithAggregatesFilter | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| AND | StockWhereInput | StockWhereInput[] | No |
| OR | StockWhereInput[] | No |
| NOT | StockWhereInput | StockWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| productId | StringFilter | String | No |
| quantity | IntFilter | Int | No |
| updatedAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| updatedAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| product | ProductOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | StockWhereInput | StockWhereInput[] | No |
| OR | StockWhereInput[] | No |
| NOT | StockWhereInput | StockWhereInput[] | No |
| organizationId | StringFilter | String | No |
| productId | StringFilter | String | No |
| quantity | IntFilter | Int | No |
| updatedAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | StockCountOrderByAggregateInput | No |
| _avg | StockAvgOrderByAggregateInput | No |
| _max | StockMaxOrderByAggregateInput | No |
| _min | StockMinOrderByAggregateInput | No |
| _sum | StockSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | StockScalarWhereWithAggregatesInput | StockScalarWhereWithAggregatesInput[] | No |
| OR | StockScalarWhereWithAggregatesInput[] | No |
| NOT | StockScalarWhereWithAggregatesInput | StockScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| productId | StringWithAggregatesFilter | String | No |
| quantity | IntWithAggregatesFilter | Int | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | KassaWhereInput | KassaWhereInput[] | No |
| OR | KassaWhereInput[] | No |
| NOT | KassaWhereInput | KassaWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| name | StringFilter | String | No |
| type | StringFilter | String | No |
| currencyId | StringFilter | String | No |
| balance | DecimalFilter | Decimal | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| payments | PaymentListRelationFilter | No |
| purchases | PurchaseListRelationFilter | No |
| sales | SaleListRelationFilter | No |
| outgoing_transfers | KassaTransferListRelationFilter | No |
| incoming_transfers | KassaTransferListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| type | SortOrder | No |
| currencyId | SortOrder | No |
| balance | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| currency | CurrencyOrderByWithRelationInput | No |
| payments | PaymentOrderByRelationAggregateInput | No |
| purchases | PurchaseOrderByRelationAggregateInput | No |
| sales | SaleOrderByRelationAggregateInput | No |
| outgoing_transfers | KassaTransferOrderByRelationAggregateInput | No |
| incoming_transfers | KassaTransferOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | KassaWhereInput | KassaWhereInput[] | No |
| OR | KassaWhereInput[] | No |
| NOT | KassaWhereInput | KassaWhereInput[] | No |
| organizationId | StringFilter | String | No |
| name | StringFilter | String | No |
| type | StringFilter | String | No |
| currencyId | StringFilter | String | No |
| balance | DecimalFilter | Decimal | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| payments | PaymentListRelationFilter | No |
| purchases | PurchaseListRelationFilter | No |
| sales | SaleListRelationFilter | No |
| outgoing_transfers | KassaTransferListRelationFilter | No |
| incoming_transfers | KassaTransferListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| type | SortOrder | No |
| currencyId | SortOrder | No |
| balance | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | KassaCountOrderByAggregateInput | No |
| _avg | KassaAvgOrderByAggregateInput | No |
| _max | KassaMaxOrderByAggregateInput | No |
| _min | KassaMinOrderByAggregateInput | No |
| _sum | KassaSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | KassaScalarWhereWithAggregatesInput | KassaScalarWhereWithAggregatesInput[] | No |
| OR | KassaScalarWhereWithAggregatesInput[] | No |
| NOT | KassaScalarWhereWithAggregatesInput | KassaScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| name | StringWithAggregatesFilter | String | No |
| type | StringWithAggregatesFilter | String | No |
| currencyId | StringWithAggregatesFilter | String | No |
| balance | DecimalWithAggregatesFilter | Decimal | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | KassaTransferWhereInput | KassaTransferWhereInput[] | No |
| OR | KassaTransferWhereInput[] | No |
| NOT | KassaTransferWhereInput | KassaTransferWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| fromKassaId | StringFilter | String | No |
| toKassaId | StringFilter | String | No |
| fromCurrencyId | StringFilter | String | No |
| toCurrencyId | StringFilter | String | No |
| rate | DecimalFilter | Decimal | No |
| amount | DecimalFilter | Decimal | No |
| convertedAmount | DecimalFilter | Decimal | No |
| description | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| from_kassa | KassaScalarRelationFilter | KassaWhereInput | No |
| to_kassa | KassaScalarRelationFilter | KassaWhereInput | No |
| from_currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| to_currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| fromKassaId | SortOrder | No |
| toKassaId | SortOrder | No |
| fromCurrencyId | SortOrder | No |
| toCurrencyId | SortOrder | No |
| rate | SortOrder | No |
| amount | SortOrder | No |
| convertedAmount | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| from_kassa | KassaOrderByWithRelationInput | No |
| to_kassa | KassaOrderByWithRelationInput | No |
| from_currency | CurrencyOrderByWithRelationInput | No |
| to_currency | CurrencyOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | KassaTransferWhereInput | KassaTransferWhereInput[] | No |
| OR | KassaTransferWhereInput[] | No |
| NOT | KassaTransferWhereInput | KassaTransferWhereInput[] | No |
| organizationId | StringFilter | String | No |
| fromKassaId | StringFilter | String | No |
| toKassaId | StringFilter | String | No |
| fromCurrencyId | StringFilter | String | No |
| toCurrencyId | StringFilter | String | No |
| rate | DecimalFilter | Decimal | No |
| amount | DecimalFilter | Decimal | No |
| convertedAmount | DecimalFilter | Decimal | No |
| description | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| from_kassa | KassaScalarRelationFilter | KassaWhereInput | No |
| to_kassa | KassaScalarRelationFilter | KassaWhereInput | No |
| from_currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| to_currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| fromKassaId | SortOrder | No |
| toKassaId | SortOrder | No |
| fromCurrencyId | SortOrder | No |
| toCurrencyId | SortOrder | No |
| rate | SortOrder | No |
| amount | SortOrder | No |
| convertedAmount | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| _count | KassaTransferCountOrderByAggregateInput | No |
| _avg | KassaTransferAvgOrderByAggregateInput | No |
| _max | KassaTransferMaxOrderByAggregateInput | No |
| _min | KassaTransferMinOrderByAggregateInput | No |
| _sum | KassaTransferSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | KassaTransferScalarWhereWithAggregatesInput | KassaTransferScalarWhereWithAggregatesInput[] | No |
| OR | KassaTransferScalarWhereWithAggregatesInput[] | No |
| NOT | KassaTransferScalarWhereWithAggregatesInput | KassaTransferScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| fromKassaId | StringWithAggregatesFilter | String | No |
| toKassaId | StringWithAggregatesFilter | String | No |
| fromCurrencyId | StringWithAggregatesFilter | String | No |
| toCurrencyId | StringWithAggregatesFilter | String | No |
| rate | DecimalWithAggregatesFilter | Decimal | No |
| amount | DecimalWithAggregatesFilter | Decimal | No |
| convertedAmount | DecimalWithAggregatesFilter | Decimal | No |
| description | StringNullableWithAggregatesFilter | String | Null | Yes |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | SortOrderInput | No |
| customerId | SortOrder | SortOrderInput | No |
| kassaId | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| type | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| purchaseId | SortOrder | SortOrderInput | No |
| saleId | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| user | UserOrderByWithRelationInput | No |
| customer | OrganizationCustomerOrderByWithRelationInput | No |
| kassa | KassaOrderByWithRelationInput | No |
| currency | CurrencyOrderByWithRelationInput | No |
| purchase | PurchaseOrderByWithRelationInput | No |
| sale | SaleOrderByWithRelationInput | No |
| installment_payments | InstallmentPaymentOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | SortOrderInput | No |
| customerId | SortOrder | SortOrderInput | No |
| kassaId | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| type | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| purchaseId | SortOrder | SortOrderInput | No |
| saleId | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| _count | PaymentCountOrderByAggregateInput | No |
| _avg | PaymentAvgOrderByAggregateInput | No |
| _max | PaymentMaxOrderByAggregateInput | No |
| _min | PaymentMinOrderByAggregateInput | No |
| _sum | PaymentSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | PaymentScalarWhereWithAggregatesInput | PaymentScalarWhereWithAggregatesInput[] | No |
| OR | PaymentScalarWhereWithAggregatesInput[] | No |
| NOT | PaymentScalarWhereWithAggregatesInput | PaymentScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| userId | StringNullableWithAggregatesFilter | String | Null | Yes |
| customerId | StringNullableWithAggregatesFilter | String | Null | Yes |
| kassaId | StringWithAggregatesFilter | String | No |
| amount | DecimalWithAggregatesFilter | Decimal | No |
| currencyId | StringWithAggregatesFilter | String | No |
| type | EnumPaymentTypeWithAggregatesFilter | PaymentType | No |
| description | StringNullableWithAggregatesFilter | String | Null | Yes |
| purchaseId | StringNullableWithAggregatesFilter | String | Null | Yes |
| saleId | StringNullableWithAggregatesFilter | String | Null | Yes |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | TransactionWhereInput | TransactionWhereInput[] | No |
| OR | TransactionWhereInput[] | No |
| NOT | TransactionWhereInput | TransactionWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| customerId | StringFilter | String | No |
| relatedType | EnumRelatedTypeFilter | RelatedType | No |
| relatedId | StringFilter | String | No |
| date | DateTimeFilter | DateTime | No |
| debit | DecimalFilter | Decimal | No |
| credit | DecimalFilter | Decimal | No |
| balanceAfter | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| description | StringNullableFilter | String | Null | Yes |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| customer | OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput | No |
| currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| relatedType | SortOrder | No |
| relatedId | SortOrder | No |
| date | SortOrder | No |
| debit | SortOrder | No |
| credit | SortOrder | No |
| balanceAfter | SortOrder | No |
| currencyId | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| organization | OrganizationOrderByWithRelationInput | No |
| customer | OrganizationCustomerOrderByWithRelationInput | No |
| currency | CurrencyOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | TransactionWhereInput | TransactionWhereInput[] | No |
| OR | TransactionWhereInput[] | No |
| NOT | TransactionWhereInput | TransactionWhereInput[] | No |
| organizationId | StringFilter | String | No |
| customerId | StringFilter | String | No |
| relatedType | EnumRelatedTypeFilter | RelatedType | No |
| relatedId | StringFilter | String | No |
| date | DateTimeFilter | DateTime | No |
| debit | DecimalFilter | Decimal | No |
| credit | DecimalFilter | Decimal | No |
| balanceAfter | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| description | StringNullableFilter | String | Null | Yes |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| customer | OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput | No |
| currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| relatedType | SortOrder | No |
| relatedId | SortOrder | No |
| date | SortOrder | No |
| debit | SortOrder | No |
| credit | SortOrder | No |
| balanceAfter | SortOrder | No |
| currencyId | SortOrder | No |
| description | SortOrder | SortOrderInput | No |
| _count | TransactionCountOrderByAggregateInput | No |
| _avg | TransactionAvgOrderByAggregateInput | No |
| _max | TransactionMaxOrderByAggregateInput | No |
| _min | TransactionMinOrderByAggregateInput | No |
| _sum | TransactionSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | TransactionScalarWhereWithAggregatesInput | TransactionScalarWhereWithAggregatesInput[] | No |
| OR | TransactionScalarWhereWithAggregatesInput[] | No |
| NOT | TransactionScalarWhereWithAggregatesInput | TransactionScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| customerId | StringWithAggregatesFilter | String | No |
| relatedType | EnumRelatedTypeWithAggregatesFilter | RelatedType | No |
| relatedId | StringWithAggregatesFilter | String | No |
| date | DateTimeWithAggregatesFilter | DateTime | No |
| debit | DecimalWithAggregatesFilter | Decimal | No |
| credit | DecimalWithAggregatesFilter | Decimal | No |
| balanceAfter | DecimalWithAggregatesFilter | Decimal | No |
| currencyId | StringWithAggregatesFilter | String | No |
| description | StringNullableWithAggregatesFilter | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | SortOrderInput | No |
| responsibleId | SortOrder | No |
| kassaId | SortOrder | SortOrderInput | No |
| invoiceNumber | SortOrder | No |
| saleDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| customer | OrganizationCustomerOrderByWithRelationInput | No |
| responsible | UserOrderByWithRelationInput | No |
| currency | CurrencyOrderByWithRelationInput | No |
| kassa | KassaOrderByWithRelationInput | No |
| items | SaleItemOrderByRelationAggregateInput | No |
| payments | PaymentOrderByRelationAggregateInput | No |
| installments | InstallmentOrderByRelationAggregateInput | No |
| documents | DocumentOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | SortOrderInput | No |
| responsibleId | SortOrder | No |
| kassaId | SortOrder | SortOrderInput | No |
| invoiceNumber | SortOrder | No |
| saleDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | SaleCountOrderByAggregateInput | No |
| _avg | SaleAvgOrderByAggregateInput | No |
| _max | SaleMaxOrderByAggregateInput | No |
| _min | SaleMinOrderByAggregateInput | No |
| _sum | SaleSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | SaleScalarWhereWithAggregatesInput | SaleScalarWhereWithAggregatesInput[] | No |
| OR | SaleScalarWhereWithAggregatesInput[] | No |
| NOT | SaleScalarWhereWithAggregatesInput | SaleScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| customerId | StringNullableWithAggregatesFilter | String | Null | Yes |
| responsibleId | StringWithAggregatesFilter | String | No |
| kassaId | StringNullableWithAggregatesFilter | String | Null | Yes |
| invoiceNumber | StringWithAggregatesFilter | String | No |
| saleDate | DateTimeWithAggregatesFilter | DateTime | No |
| totalAmount | DecimalWithAggregatesFilter | Decimal | No |
| paidAmount | DecimalWithAggregatesFilter | Decimal | No |
| currencyId | StringWithAggregatesFilter | String | No |
| status | EnumSaleStatusWithAggregatesFilter | SaleStatus | No |
| notes | StringNullableWithAggregatesFilter | String | Null | Yes |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | SaleItemWhereInput | SaleItemWhereInput[] | No |
| OR | SaleItemWhereInput[] | No |
| NOT | SaleItemWhereInput | SaleItemWhereInput[] | No |
| id | StringFilter | String | No |
| saleId | StringFilter | String | No |
| productId | StringFilter | String | No |
| quantity | IntFilter | Int | No |
| price | DecimalFilter | Decimal | No |
| total | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| sale | SaleScalarRelationFilter | SaleWhereInput | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| total | SortOrder | No |
| currencyId | SortOrder | No |
| sale | SaleOrderByWithRelationInput | No |
| product | ProductOrderByWithRelationInput | No |
| currency | CurrencyOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | SaleItemWhereInput | SaleItemWhereInput[] | No |
| OR | SaleItemWhereInput[] | No |
| NOT | SaleItemWhereInput | SaleItemWhereInput[] | No |
| saleId | StringFilter | String | No |
| productId | StringFilter | String | No |
| quantity | IntFilter | Int | No |
| price | DecimalFilter | Decimal | No |
| total | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| sale | SaleScalarRelationFilter | SaleWhereInput | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| currency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| total | SortOrder | No |
| currencyId | SortOrder | No |
| _count | SaleItemCountOrderByAggregateInput | No |
| _avg | SaleItemAvgOrderByAggregateInput | No |
| _max | SaleItemMaxOrderByAggregateInput | No |
| _min | SaleItemMinOrderByAggregateInput | No |
| _sum | SaleItemSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | SaleItemScalarWhereWithAggregatesInput | SaleItemScalarWhereWithAggregatesInput[] | No |
| OR | SaleItemScalarWhereWithAggregatesInput[] | No |
| NOT | SaleItemScalarWhereWithAggregatesInput | SaleItemScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| saleId | StringWithAggregatesFilter | String | No |
| productId | StringWithAggregatesFilter | String | No |
| quantity | IntWithAggregatesFilter | Int | No |
| price | DecimalWithAggregatesFilter | Decimal | No |
| total | DecimalWithAggregatesFilter | Decimal | No |
| currencyId | StringWithAggregatesFilter | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| supplierId | SortOrder | No |
| responsibleId | SortOrder | SortOrderInput | No |
| kassaId | SortOrder | SortOrderInput | No |
| invoiceNumber | SortOrder | SortOrderInput | No |
| purchaseDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| supplier | OrganizationCustomerOrderByWithRelationInput | No |
| responsible | UserOrderByWithRelationInput | No |
| currency | CurrencyOrderByWithRelationInput | No |
| kassa | KassaOrderByWithRelationInput | No |
| items | PurchaseItemOrderByRelationAggregateInput | No |
| payments | PaymentOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| supplierId | SortOrder | No |
| responsibleId | SortOrder | SortOrderInput | No |
| kassaId | SortOrder | SortOrderInput | No |
| invoiceNumber | SortOrder | SortOrderInput | No |
| purchaseDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | PurchaseCountOrderByAggregateInput | No |
| _avg | PurchaseAvgOrderByAggregateInput | No |
| _max | PurchaseMaxOrderByAggregateInput | No |
| _min | PurchaseMinOrderByAggregateInput | No |
| _sum | PurchaseSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | PurchaseItemWhereInput | PurchaseItemWhereInput[] | No |
| OR | PurchaseItemWhereInput[] | No |
| NOT | PurchaseItemWhereInput | PurchaseItemWhereInput[] | No |
| id | StringFilter | String | No |
| purchaseId | StringFilter | String | No |
| productId | StringFilter | String | No |
| quantity | IntFilter | Int | No |
| price | DecimalFilter | Decimal | No |
| discount | DecimalFilter | Decimal | No |
| total | DecimalFilter | Decimal | No |
| purchase | PurchaseScalarRelationFilter | PurchaseWhereInput | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| purchaseId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| discount | SortOrder | No |
| total | SortOrder | No |
| purchase | PurchaseOrderByWithRelationInput | No |
| product | ProductOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | PurchaseItemWhereInput | PurchaseItemWhereInput[] | No |
| OR | PurchaseItemWhereInput[] | No |
| NOT | PurchaseItemWhereInput | PurchaseItemWhereInput[] | No |
| purchaseId | StringFilter | String | No |
| productId | StringFilter | String | No |
| quantity | IntFilter | Int | No |
| price | DecimalFilter | Decimal | No |
| discount | DecimalFilter | Decimal | No |
| total | DecimalFilter | Decimal | No |
| purchase | PurchaseScalarRelationFilter | PurchaseWhereInput | No |
| product | ProductScalarRelationFilter | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| purchaseId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| discount | SortOrder | No |
| total | SortOrder | No |
| _count | PurchaseItemCountOrderByAggregateInput | No |
| _avg | PurchaseItemAvgOrderByAggregateInput | No |
| _max | PurchaseItemMaxOrderByAggregateInput | No |
| _min | PurchaseItemMinOrderByAggregateInput | No |
| _sum | PurchaseItemSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | PurchaseItemScalarWhereWithAggregatesInput | PurchaseItemScalarWhereWithAggregatesInput[] | No |
| OR | PurchaseItemScalarWhereWithAggregatesInput[] | No |
| NOT | PurchaseItemScalarWhereWithAggregatesInput | PurchaseItemScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| purchaseId | StringWithAggregatesFilter | String | No |
| productId | StringWithAggregatesFilter | String | No |
| quantity | IntWithAggregatesFilter | Int | No |
| price | DecimalWithAggregatesFilter | Decimal | No |
| discount | DecimalWithAggregatesFilter | Decimal | No |
| total | DecimalWithAggregatesFilter | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| AND | InstallmentWhereInput | InstallmentWhereInput[] | No |
| OR | InstallmentWhereInput[] | No |
| NOT | InstallmentWhereInput | InstallmentWhereInput[] | No |
| id | StringFilter | String | No |
| saleId | StringFilter | String | No |
| customerId | StringFilter | String | No |
| totalAmount | DecimalFilter | Decimal | No |
| initialPayment | DecimalFilter | Decimal | No |
| paidAmount | DecimalFilter | Decimal | No |
| remaining | DecimalFilter | Decimal | No |
| totalMonths | IntFilter | Int | No |
| monthsLeft | IntFilter | Int | No |
| monthlyPayment | DecimalFilter | Decimal | No |
| dueDate | DateTimeFilter | DateTime | No |
| status | EnumInstallmentStatusFilter | InstallmentStatus | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| sale | SaleScalarRelationFilter | SaleWhereInput | No |
| customer | OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput | No |
| payments | InstallmentPaymentListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| customerId | SortOrder | No |
| totalAmount | SortOrder | No |
| initialPayment | SortOrder | No |
| paidAmount | SortOrder | No |
| remaining | SortOrder | No |
| totalMonths | SortOrder | No |
| monthsLeft | SortOrder | No |
| monthlyPayment | SortOrder | No |
| dueDate | SortOrder | No |
| status | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| sale | SaleOrderByWithRelationInput | No |
| customer | OrganizationCustomerOrderByWithRelationInput | No |
| payments | InstallmentPaymentOrderByRelationAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | InstallmentWhereInput | InstallmentWhereInput[] | No |
| OR | InstallmentWhereInput[] | No |
| NOT | InstallmentWhereInput | InstallmentWhereInput[] | No |
| saleId | StringFilter | String | No |
| customerId | StringFilter | String | No |
| totalAmount | DecimalFilter | Decimal | No |
| initialPayment | DecimalFilter | Decimal | No |
| paidAmount | DecimalFilter | Decimal | No |
| remaining | DecimalFilter | Decimal | No |
| totalMonths | IntFilter | Int | No |
| monthsLeft | IntFilter | Int | No |
| monthlyPayment | DecimalFilter | Decimal | No |
| dueDate | DateTimeFilter | DateTime | No |
| status | EnumInstallmentStatusFilter | InstallmentStatus | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| sale | SaleScalarRelationFilter | SaleWhereInput | No |
| customer | OrganizationCustomerScalarRelationFilter | OrganizationCustomerWhereInput | No |
| payments | InstallmentPaymentListRelationFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| customerId | SortOrder | No |
| totalAmount | SortOrder | No |
| initialPayment | SortOrder | No |
| paidAmount | SortOrder | No |
| remaining | SortOrder | No |
| totalMonths | SortOrder | No |
| monthsLeft | SortOrder | No |
| monthlyPayment | SortOrder | No |
| dueDate | SortOrder | No |
| status | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | InstallmentCountOrderByAggregateInput | No |
| _avg | InstallmentAvgOrderByAggregateInput | No |
| _max | InstallmentMaxOrderByAggregateInput | No |
| _min | InstallmentMinOrderByAggregateInput | No |
| _sum | InstallmentSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | InstallmentScalarWhereWithAggregatesInput | InstallmentScalarWhereWithAggregatesInput[] | No |
| OR | InstallmentScalarWhereWithAggregatesInput[] | No |
| NOT | InstallmentScalarWhereWithAggregatesInput | InstallmentScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| saleId | StringWithAggregatesFilter | String | No |
| customerId | StringWithAggregatesFilter | String | No |
| totalAmount | DecimalWithAggregatesFilter | Decimal | No |
| initialPayment | DecimalWithAggregatesFilter | Decimal | No |
| paidAmount | DecimalWithAggregatesFilter | Decimal | No |
| remaining | DecimalWithAggregatesFilter | Decimal | No |
| totalMonths | IntWithAggregatesFilter | Int | No |
| monthsLeft | IntWithAggregatesFilter | Int | No |
| monthlyPayment | DecimalWithAggregatesFilter | Decimal | No |
| dueDate | DateTimeWithAggregatesFilter | DateTime | No |
| status | EnumInstallmentStatusWithAggregatesFilter | InstallmentStatus | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | InstallmentPaymentWhereInput | InstallmentPaymentWhereInput[] | No |
| OR | InstallmentPaymentWhereInput[] | No |
| NOT | InstallmentPaymentWhereInput | InstallmentPaymentWhereInput[] | No |
| id | StringFilter | String | No |
| installmentId | StringFilter | String | No |
| amount | DecimalFilter | Decimal | No |
| paidAt | DateTimeFilter | DateTime | No |
| paymentMethod | StringNullableFilter | String | Null | Yes |
| note | StringNullableFilter | String | Null | Yes |
| createdById | StringNullableFilter | String | Null | Yes |
| paymentId | StringNullableFilter | String | Null | Yes |
| installment | InstallmentScalarRelationFilter | InstallmentWhereInput | No |
| created_by | UserNullableScalarRelationFilter | UserWhereInput | Null | Yes |
| payment | PaymentNullableScalarRelationFilter | PaymentWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| installmentId | SortOrder | No |
| amount | SortOrder | No |
| paidAt | SortOrder | No |
| paymentMethod | SortOrder | SortOrderInput | No |
| note | SortOrder | SortOrderInput | No |
| createdById | SortOrder | SortOrderInput | No |
| paymentId | SortOrder | SortOrderInput | No |
| installment | InstallmentOrderByWithRelationInput | No |
| created_by | UserOrderByWithRelationInput | No |
| payment | PaymentOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | InstallmentPaymentWhereInput | InstallmentPaymentWhereInput[] | No |
| OR | InstallmentPaymentWhereInput[] | No |
| NOT | InstallmentPaymentWhereInput | InstallmentPaymentWhereInput[] | No |
| installmentId | StringFilter | String | No |
| amount | DecimalFilter | Decimal | No |
| paidAt | DateTimeFilter | DateTime | No |
| paymentMethod | StringNullableFilter | String | Null | Yes |
| note | StringNullableFilter | String | Null | Yes |
| createdById | StringNullableFilter | String | Null | Yes |
| paymentId | StringNullableFilter | String | Null | Yes |
| installment | InstallmentScalarRelationFilter | InstallmentWhereInput | No |
| created_by | UserNullableScalarRelationFilter | UserWhereInput | Null | Yes |
| payment | PaymentNullableScalarRelationFilter | PaymentWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| installmentId | SortOrder | No |
| amount | SortOrder | No |
| paidAt | SortOrder | No |
| paymentMethod | SortOrder | SortOrderInput | No |
| note | SortOrder | SortOrderInput | No |
| createdById | SortOrder | SortOrderInput | No |
| paymentId | SortOrder | SortOrderInput | No |
| _count | InstallmentPaymentCountOrderByAggregateInput | No |
| _avg | InstallmentPaymentAvgOrderByAggregateInput | No |
| _max | InstallmentPaymentMaxOrderByAggregateInput | No |
| _min | InstallmentPaymentMinOrderByAggregateInput | No |
| _sum | InstallmentPaymentSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | InstallmentPaymentScalarWhereWithAggregatesInput | InstallmentPaymentScalarWhereWithAggregatesInput[] | No |
| OR | InstallmentPaymentScalarWhereWithAggregatesInput[] | No |
| NOT | InstallmentPaymentScalarWhereWithAggregatesInput | InstallmentPaymentScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| installmentId | StringWithAggregatesFilter | String | No |
| amount | DecimalWithAggregatesFilter | Decimal | No |
| paidAt | DateTimeWithAggregatesFilter | DateTime | No |
| paymentMethod | StringNullableWithAggregatesFilter | String | Null | Yes |
| note | StringNullableWithAggregatesFilter | String | Null | Yes |
| createdById | StringNullableWithAggregatesFilter | String | Null | Yes |
| paymentId | StringNullableWithAggregatesFilter | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| AND | DocumentWhereInput | DocumentWhereInput[] | No |
| OR | DocumentWhereInput[] | No |
| NOT | DocumentWhereInput | DocumentWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| customerId | StringNullableFilter | String | Null | Yes |
| saleId | StringNullableFilter | String | Null | Yes |
| type | EnumDocumentTypeFilter | DocumentType | No |
| fileUrl | StringFilter | String | No |
| uploadedById | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| uploadedBy | UserNullableScalarRelationFilter | UserWhereInput | Null | Yes |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| customer | OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null | Yes |
| sale | SaleNullableScalarRelationFilter | SaleWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | SortOrderInput | No |
| saleId | SortOrder | SortOrderInput | No |
| type | SortOrder | No |
| fileUrl | SortOrder | No |
| uploadedById | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| uploadedBy | UserOrderByWithRelationInput | No |
| organization | OrganizationOrderByWithRelationInput | No |
| customer | OrganizationCustomerOrderByWithRelationInput | No |
| sale | SaleOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | DocumentWhereInput | DocumentWhereInput[] | No |
| OR | DocumentWhereInput[] | No |
| NOT | DocumentWhereInput | DocumentWhereInput[] | No |
| organizationId | StringFilter | String | No |
| customerId | StringNullableFilter | String | Null | Yes |
| saleId | StringNullableFilter | String | Null | Yes |
| type | EnumDocumentTypeFilter | DocumentType | No |
| fileUrl | StringFilter | String | No |
| uploadedById | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| uploadedBy | UserNullableScalarRelationFilter | UserWhereInput | Null | Yes |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| customer | OrganizationCustomerNullableScalarRelationFilter | OrganizationCustomerWhereInput | Null | Yes |
| sale | SaleNullableScalarRelationFilter | SaleWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | SortOrderInput | No |
| saleId | SortOrder | SortOrderInput | No |
| type | SortOrder | No |
| fileUrl | SortOrder | No |
| uploadedById | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| _count | DocumentCountOrderByAggregateInput | No |
| _max | DocumentMaxOrderByAggregateInput | No |
| _min | DocumentMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | DocumentScalarWhereWithAggregatesInput | DocumentScalarWhereWithAggregatesInput[] | No |
| OR | DocumentScalarWhereWithAggregatesInput[] | No |
| NOT | DocumentScalarWhereWithAggregatesInput | DocumentScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| customerId | StringNullableWithAggregatesFilter | String | Null | Yes |
| saleId | StringNullableWithAggregatesFilter | String | Null | Yes |
| type | EnumDocumentTypeWithAggregatesFilter | DocumentType | No |
| fileUrl | StringWithAggregatesFilter | String | No |
| uploadedById | StringNullableWithAggregatesFilter | String | Null | Yes |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | SettingsWhereInput | SettingsWhereInput[] | No |
| OR | SettingsWhereInput[] | No |
| NOT | SettingsWhereInput | SettingsWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| baseCurrencyId | StringFilter | String | No |
| language | StringNullableFilter | String | Null | Yes |
| dateFormat | StringNullableFilter | String | Null | Yes |
| enableInstallment | BoolFilter | Boolean | No |
| enableNotifications | BoolFilter | Boolean | No |
| enableAutoRateUpdate | BoolFilter | Boolean | No |
| taxPercent | DecimalNullableFilter | Decimal | Null | Yes |
| logoUrl | StringNullableFilter | String | Null | Yes |
| theme | EnumThemeTypeFilter | ThemeType | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| baseCurrency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| baseCurrencyId | SortOrder | No |
| language | SortOrder | SortOrderInput | No |
| dateFormat | SortOrder | SortOrderInput | No |
| enableInstallment | SortOrder | No |
| enableNotifications | SortOrder | No |
| enableAutoRateUpdate | SortOrder | No |
| taxPercent | SortOrder | SortOrderInput | No |
| logoUrl | SortOrder | SortOrderInput | No |
| theme | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| baseCurrency | CurrencyOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| AND | SettingsWhereInput | SettingsWhereInput[] | No |
| OR | SettingsWhereInput[] | No |
| NOT | SettingsWhereInput | SettingsWhereInput[] | No |
| baseCurrencyId | StringFilter | String | No |
| language | StringNullableFilter | String | Null | Yes |
| dateFormat | StringNullableFilter | String | Null | Yes |
| enableInstallment | BoolFilter | Boolean | No |
| enableNotifications | BoolFilter | Boolean | No |
| enableAutoRateUpdate | BoolFilter | Boolean | No |
| taxPercent | DecimalNullableFilter | Decimal | Null | Yes |
| logoUrl | StringNullableFilter | String | Null | Yes |
| theme | EnumThemeTypeFilter | ThemeType | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| baseCurrency | CurrencyScalarRelationFilter | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| baseCurrencyId | SortOrder | No |
| language | SortOrder | SortOrderInput | No |
| dateFormat | SortOrder | SortOrderInput | No |
| enableInstallment | SortOrder | No |
| enableNotifications | SortOrder | No |
| enableAutoRateUpdate | SortOrder | No |
| taxPercent | SortOrder | SortOrderInput | No |
| logoUrl | SortOrder | SortOrderInput | No |
| theme | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| _count | SettingsCountOrderByAggregateInput | No |
| _avg | SettingsAvgOrderByAggregateInput | No |
| _max | SettingsMaxOrderByAggregateInput | No |
| _min | SettingsMinOrderByAggregateInput | No |
| _sum | SettingsSumOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | SettingsScalarWhereWithAggregatesInput | SettingsScalarWhereWithAggregatesInput[] | No |
| OR | SettingsScalarWhereWithAggregatesInput[] | No |
| NOT | SettingsScalarWhereWithAggregatesInput | SettingsScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| baseCurrencyId | StringWithAggregatesFilter | String | No |
| language | StringNullableWithAggregatesFilter | String | Null | Yes |
| dateFormat | StringNullableWithAggregatesFilter | String | Null | Yes |
| enableInstallment | BoolWithAggregatesFilter | Boolean | No |
| enableNotifications | BoolWithAggregatesFilter | Boolean | No |
| enableAutoRateUpdate | BoolWithAggregatesFilter | Boolean | No |
| taxPercent | DecimalNullableWithAggregatesFilter | Decimal | Null | Yes |
| logoUrl | StringNullableWithAggregatesFilter | String | Null | Yes |
| theme | EnumThemeTypeWithAggregatesFilter | ThemeType | No |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| updatedAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| AND | AuditLogWhereInput | AuditLogWhereInput[] | No |
| OR | AuditLogWhereInput[] | No |
| NOT | AuditLogWhereInput | AuditLogWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| userId | StringNullableFilter | String | Null | Yes |
| action | StringFilter | String | No |
| entity | StringFilter | String | No |
| entityId | StringNullableFilter | String | Null | Yes |
| oldValue | JsonNullableFilter | No |
| newValue | JsonNullableFilter | No |
| note | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| user | UserNullableScalarRelationFilter | UserWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | SortOrderInput | No |
| action | SortOrder | No |
| entity | SortOrder | No |
| entityId | SortOrder | SortOrderInput | No |
| oldValue | SortOrder | SortOrderInput | No |
| newValue | SortOrder | SortOrderInput | No |
| note | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| organization | OrganizationOrderByWithRelationInput | No |
| user | UserOrderByWithRelationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| AND | AuditLogWhereInput | AuditLogWhereInput[] | No |
| OR | AuditLogWhereInput[] | No |
| NOT | AuditLogWhereInput | AuditLogWhereInput[] | No |
| organizationId | StringFilter | String | No |
| userId | StringNullableFilter | String | Null | Yes |
| action | StringFilter | String | No |
| entity | StringFilter | String | No |
| entityId | StringNullableFilter | String | Null | Yes |
| oldValue | JsonNullableFilter | No |
| newValue | JsonNullableFilter | No |
| note | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| organization | OrganizationScalarRelationFilter | OrganizationWhereInput | No |
| user | UserNullableScalarRelationFilter | UserWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | SortOrderInput | No |
| action | SortOrder | No |
| entity | SortOrder | No |
| entityId | SortOrder | SortOrderInput | No |
| oldValue | SortOrder | SortOrderInput | No |
| newValue | SortOrder | SortOrderInput | No |
| note | SortOrder | SortOrderInput | No |
| createdAt | SortOrder | No |
| _count | AuditLogCountOrderByAggregateInput | No |
| _max | AuditLogMaxOrderByAggregateInput | No |
| _min | AuditLogMinOrderByAggregateInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[] | No |
| OR | AuditLogScalarWhereWithAggregatesInput[] | No |
| NOT | AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[] | No |
| id | StringWithAggregatesFilter | String | No |
| organizationId | StringWithAggregatesFilter | String | No |
| userId | StringNullableWithAggregatesFilter | String | Null | Yes |
| action | StringWithAggregatesFilter | String | No |
| entity | StringWithAggregatesFilter | String | No |
| entityId | StringNullableWithAggregatesFilter | String | Null | Yes |
| oldValue | JsonNullableWithAggregatesFilter | No |
| newValue | JsonNullableWithAggregatesFilter | No |
| note | StringNullableWithAggregatesFilter | String | Null | Yes |
| createdAt | DateTimeWithAggregatesFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| baseCurrency | String | No |
| targetCurrency | String | No |
| rate | Decimal | No |
| date | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| baseCurrency | String | No |
| targetCurrency | String | No |
| rate | Decimal | No |
| date | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| baseCurrency | String | StringFieldUpdateOperationsInput | No |
| targetCurrency | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| baseCurrency | String | StringFieldUpdateOperationsInput | No |
| targetCurrency | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| baseCurrency | String | No |
| targetCurrency | String | No |
| rate | Decimal | No |
| date | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| baseCurrency | String | StringFieldUpdateOperationsInput | No |
| targetCurrency | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| baseCurrency | String | StringFieldUpdateOperationsInput | No |
| targetCurrency | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| address | String | Null | Yes |
| phone | String | Null | Yes |
| String | Null | Yes | |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| address | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| phone | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| address | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| phone | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| roleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| dateOfBirth | DateTime | Null | Yes |
| gender | Gender | No |
| passportSeries | String | Null | Yes |
| passportNumber | String | Null | Yes |
| issuedBy | String | Null | Yes |
| issuedDate | DateTime | Null | Yes |
| expiryDate | DateTime | Null | Yes |
| country | String | Null | Yes |
| region | String | Null | Yes |
| city | String | Null | Yes |
| address | String | Null | Yes |
| registration | String | Null | Yes |
| district | String | Null | Yes |
| user | UserCreateNestedOneWithoutProfileInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| dateOfBirth | DateTime | Null | Yes |
| gender | Gender | No |
| passportSeries | String | Null | Yes |
| passportNumber | String | Null | Yes |
| issuedBy | String | Null | Yes |
| issuedDate | DateTime | Null | Yes |
| expiryDate | DateTime | Null | Yes |
| country | String | Null | Yes |
| region | String | Null | Yes |
| city | String | Null | Yes |
| address | String | Null | Yes |
| registration | String | Null | Yes |
| district | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| dateOfBirth | DateTime | Null | Yes |
| gender | Gender | No |
| passportSeries | String | Null | Yes |
| passportNumber | String | Null | Yes |
| issuedBy | String | Null | Yes |
| issuedDate | DateTime | Null | Yes |
| expiryDate | DateTime | Null | Yes |
| country | String | Null | Yes |
| region | String | Null | Yes |
| city | String | Null | Yes |
| address | String | Null | Yes |
| registration | String | Null | Yes |
| district | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| users | UserCreateNestedManyWithoutRoleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| users | UserUncheckedCreateNestedManyWithoutRoleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| users | UserUpdateManyWithoutRoleNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| users | UserUncheckedUpdateManyWithoutRoleNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| phone | String | No |
| note | String | Null | Yes |
| isPrimary | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| user | UserCreateNestedOneWithoutPhone_numbersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| phone | String | No |
| note | String | Null | Yes |
| isPrimary | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| phone | String | StringFieldUpdateOperationsInput | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| isPrimary | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| user | UserUpdateOneRequiredWithoutPhone_numbersNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| userId | String | StringFieldUpdateOperationsInput | No |
| phone | String | StringFieldUpdateOperationsInput | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| isPrimary | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| phone | String | No |
| note | String | Null | Yes |
| isPrimary | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| phone | String | StringFieldUpdateOperationsInput | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| isPrimary | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| userId | String | StringFieldUpdateOperationsInput | No |
| phone | String | StringFieldUpdateOperationsInput | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| isPrimary | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| role | OrgUserRole | No |
| position | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutOrg_usersInput | No |
| user | UserCreateNestedOneWithoutOrg_linksInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| role | OrgUserRole | No |
| position | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutOrg_usersNestedInput | No |
| user | UserUpdateOneRequiredWithoutOrg_linksNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| role | OrgUserRole | No |
| position | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutCustomersInput | No |
| user | UserCreateNestedOneWithoutCutomer_linksInput | No |
| product_instances | ProductInstanceCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionCreateNestedManyWithoutCustomerInput | No |
| sales | SaleCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_instances | ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCustomerInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| firstName | String | StringFieldUpdateOperationsInput | No |
| lastName | String | StringFieldUpdateOperationsInput | No |
| patronymic | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| phone | String | StringFieldUpdateOperationsInput | No |
| type | CustomerType | EnumCustomerTypeFieldUpdateOperationsInput | No |
| isBlacklisted | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| firstName | String | StringFieldUpdateOperationsInput | No |
| lastName | String | StringFieldUpdateOperationsInput | No |
| patronymic | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| phone | String | StringFieldUpdateOperationsInput | No |
| type | CustomerType | EnumCustomerTypeFieldUpdateOperationsInput | No |
| isBlacklisted | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| products | ProductCreateNestedManyWithoutBrandInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| products | ProductUncheckedCreateNestedManyWithoutBrandInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| products | ProductUpdateManyWithoutBrandNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| products | ProductUncheckedUpdateManyWithoutBrandNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProductsInput | No |
| brand | BrandCreateNestedOneWithoutProductsInput | No |
| categories | ProductCategoryCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemCreateNestedManyWithoutProductInput | No |
| stocks | StockCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| categories | ProductCategoryUncheckedCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceUncheckedCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceUncheckedCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemUncheckedCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemUncheckedCreateNestedManyWithoutProductInput | No |
| stocks | StockUncheckedCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| expiry_date | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| serial_number | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| barcode | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| expiry_date | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| serial_number | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| barcode | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| brandId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| products | ProductCategoryCreateNestedManyWithoutCategoryInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| products | ProductCategoryUncheckedCreateNestedManyWithoutCategoryInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| products | ProductCategoryUpdateManyWithoutCategoryNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| products | ProductCategoryUncheckedUpdateManyWithoutCategoryNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| product | ProductCreateNestedOneWithoutCategoriesInput | No |
| category | CategoryCreateNestedOneWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | No |
| categoryId | String | No |
| Name | Type | Nullable |
|---|---|---|
| product | ProductUpdateOneRequiredWithoutCategoriesNestedInput | No |
| category | CategoryUpdateOneRequiredWithoutProductsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | StringFieldUpdateOperationsInput | No |
| categoryId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | No |
| categoryId | String | No |
| Name | Type | Nullable |
|---|
| Name | Type | Nullable |
|---|---|---|
| productId | String | StringFieldUpdateOperationsInput | No |
| categoryId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| priceType | PriceType | No |
| amount | Decimal | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| currency | CurrencyCreateNestedOneWithoutProduct_pricesInput | No |
| product | ProductCreateNestedOneWithoutPricesInput | No |
| organization | OrganizationCreateNestedOneWithoutProduct_pricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| organizationId | String | Null | Yes |
| priceType | PriceType | No |
| amount | Decimal | No |
| currencyId | String | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| currency | CurrencyUpdateOneRequiredWithoutProduct_pricesNestedInput | No |
| product | ProductUpdateOneRequiredWithoutPricesNestedInput | No |
| organization | OrganizationUpdateOneWithoutProduct_pricesNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| organizationId | String | Null | Yes |
| priceType | PriceType | No |
| amount | Decimal | No |
| currencyId | String | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| serialNumber | String | No |
| currentStatus | ProductStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product | ProductCreateNestedOneWithoutInstancesInput | No |
| organization | OrganizationCreateNestedOneWithoutProduct_instancesInput | No |
| current_owner | OrganizationCustomerCreateNestedOneWithoutProduct_instancesInput | No |
| transactions | ProductTransactionCreateNestedManyWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| serialNumber | String | No |
| currentOwnerId | String | Null | Yes |
| currentStatus | ProductStatus | No |
| organizationId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| transactions | ProductTransactionUncheckedCreateNestedManyWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product | ProductUpdateOneRequiredWithoutInstancesNestedInput | No |
| organization | OrganizationUpdateOneRequiredWithoutProduct_instancesNestedInput | No |
| current_owner | OrganizationCustomerUpdateOneWithoutProduct_instancesNestedInput | No |
| transactions | ProductTransactionUpdateManyWithoutProduct_instanceNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentOwnerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| transactions | ProductTransactionUncheckedUpdateManyWithoutProduct_instanceNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| serialNumber | String | No |
| currentOwnerId | String | Null | Yes |
| currentStatus | ProductStatus | No |
| organizationId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentOwnerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| fromCustomerId | String | Null | Yes |
| toCustomerId | String | Null | Yes |
| toOrganizationId | String | Null | Yes |
| saleId | String | Null | Yes |
| action | ProductAction | No |
| date | DateTime | No |
| description | String | Null | Yes |
| product_instance | ProductInstanceCreateNestedOneWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productInstanceId | String | No |
| fromCustomerId | String | Null | Yes |
| toCustomerId | String | Null | Yes |
| toOrganizationId | String | Null | Yes |
| saleId | String | Null | Yes |
| action | ProductAction | No |
| date | DateTime | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| fromCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toOrganizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | ProductAction | EnumProductActionFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| product_instance | ProductInstanceUpdateOneRequiredWithoutTransactionsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productInstanceId | String | StringFieldUpdateOperationsInput | No |
| fromCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toOrganizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | ProductAction | EnumProductActionFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productInstanceId | String | No |
| fromCustomerId | String | Null | Yes |
| toCustomerId | String | Null | Yes |
| toOrganizationId | String | Null | Yes |
| saleId | String | Null | Yes |
| action | ProductAction | No |
| date | DateTime | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| fromCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toOrganizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | ProductAction | EnumProductActionFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productInstanceId | String | StringFieldUpdateOperationsInput | No |
| fromCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toOrganizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | ProductAction | EnumProductActionFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| batchNumber | String | No |
| expiryDate | DateTime | Null | Yes |
| quantity | Int | No |
| isValid | Boolean | No |
| product | ProductCreateNestedOneWithoutProduct_batchesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| batchNumber | String | No |
| expiryDate | DateTime | Null | Yes |
| quantity | Int | No |
| isValid | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| batchNumber | String | StringFieldUpdateOperationsInput | No |
| expiryDate | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| isValid | Boolean | BoolFieldUpdateOperationsInput | No |
| product | ProductUpdateOneRequiredWithoutProduct_batchesNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| batchNumber | String | StringFieldUpdateOperationsInput | No |
| expiryDate | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| isValid | Boolean | BoolFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| batchNumber | String | No |
| expiryDate | DateTime | Null | Yes |
| quantity | Int | No |
| isValid | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| batchNumber | String | StringFieldUpdateOperationsInput | No |
| expiryDate | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| isValid | Boolean | BoolFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| batchNumber | String | StringFieldUpdateOperationsInput | No |
| expiryDate | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| isValid | Boolean | BoolFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutStocksInput | No |
| product | ProductCreateNestedOneWithoutStocksInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| productId | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutStocksNestedInput | No |
| product | ProductUpdateOneRequiredWithoutStocksNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| productId | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassasInput | No |
| currency | CurrencyCreateNestedOneWithoutKassasInput | No |
| payments | PaymentCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseCreateNestedManyWithoutKassaInput | No |
| sales | SaleCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutKassaInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassasNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutKassasNestedInput | No |
| payments | PaymentUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | PaymentUncheckedUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUncheckedUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassa_transfersInput | No |
| from_kassa | KassaCreateNestedOneWithoutOutgoing_transfersInput | No |
| to_kassa | KassaCreateNestedOneWithoutIncoming_transfersInput | No |
| from_currency | CurrencyCreateNestedOneWithoutFrom_transfersInput | No |
| to_currency | CurrencyCreateNestedOneWithoutTo_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassa_transfersNestedInput | No |
| from_kassa | KassaUpdateOneRequiredWithoutOutgoing_transfersNestedInput | No |
| to_kassa | KassaUpdateOneRequiredWithoutIncoming_transfersNestedInput | No |
| from_currency | CurrencyUpdateOneRequiredWithoutFrom_transfersNestedInput | No |
| to_currency | CurrencyUpdateOneRequiredWithoutTo_transfersNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPaymentsInput | No |
| user | UserCreateNestedOneWithoutPaymentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutPaymentsInput | No |
| kassa | KassaCreateNestedOneWithoutPaymentsInput | No |
| currency | CurrencyCreateNestedOneWithoutPaymentsInput | No |
| purchase | PurchaseCreateNestedOneWithoutPaymentsInput | No |
| sale | SaleCreateNestedOneWithoutPaymentsInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPaymentsNestedInput | No |
| user | UserUpdateOneWithoutPaymentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutPaymentsNestedInput | No |
| kassa | KassaUpdateOneRequiredWithoutPaymentsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPaymentsNestedInput | No |
| purchase | PurchaseUpdateOneWithoutPaymentsNestedInput | No |
| sale | SaleUpdateOneWithoutPaymentsNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| installment_payments | InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| description | String | Null | Yes |
| organization | OrganizationCreateNestedOneWithoutTransactionsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutTransactionsInput | No |
| currency | CurrencyCreateNestedOneWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| currencyId | String | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| organization | OrganizationUpdateOneRequiredWithoutTransactionsNestedInput | No |
| customer | OrganizationCustomerUpdateOneRequiredWithoutTransactionsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutTransactionsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| currencyId | String | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSalesInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutSalesInput | No |
| responsible | UserCreateNestedOneWithoutSalesInput | No |
| currency | CurrencyCreateNestedOneWithoutSalesInput | No |
| kassa | KassaCreateNestedOneWithoutSalesInput | No |
| items | SaleItemCreateNestedManyWithoutSaleInput | No |
| payments | PaymentCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentCreateNestedManyWithoutSaleInput | No |
| documents | DocumentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | SaleItemUncheckedCreateNestedManyWithoutSaleInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutSaleInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | StringFieldUpdateOperationsInput | No |
| saleDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | SaleStatus | EnumSaleStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| responsibleId | String | StringFieldUpdateOperationsInput | No |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | StringFieldUpdateOperationsInput | No |
| saleDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | SaleStatus | EnumSaleStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| sale | SaleCreateNestedOneWithoutItemsInput | No |
| product | ProductCreateNestedOneWithoutSele_itemsInput | No |
| currency | CurrencyCreateNestedOneWithoutSale_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| currencyId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| sale | SaleUpdateOneRequiredWithoutItemsNestedInput | No |
| product | ProductUpdateOneRequiredWithoutSele_itemsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutSale_itemsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| currencyId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPurchasesInput | No |
| supplier | OrganizationCustomerCreateNestedOneWithoutPurchasesInput | No |
| responsible | UserCreateNestedOneWithoutPurchasesInput | No |
| currency | CurrencyCreateNestedOneWithoutPurchasesInput | No |
| kassa | KassaCreateNestedOneWithoutPurchasesInput | No |
| items | PurchaseItemCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| purchase | PurchaseCreateNestedOneWithoutItemsInput | No |
| product | ProductCreateNestedOneWithoutPurchase_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| purchaseId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| purchase | PurchaseUpdateOneRequiredWithoutItemsNestedInput | No |
| product | ProductUpdateOneRequiredWithoutPurchase_itemsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| purchaseId | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| purchaseId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| purchaseId | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| sale | SaleCreateNestedOneWithoutInstallmentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutInstallmentsInput | No |
| payments | InstallmentPaymentCreateNestedManyWithoutInstallmentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| customerId | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | InstallmentPaymentUncheckedCreateNestedManyWithoutInstallmentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| sale | SaleUpdateOneRequiredWithoutInstallmentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneRequiredWithoutInstallmentsNestedInput | No |
| payments | InstallmentPaymentUpdateManyWithoutInstallmentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | InstallmentPaymentUncheckedUpdateManyWithoutInstallmentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| customerId | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| installment | InstallmentCreateNestedOneWithoutPaymentsInput | No |
| created_by | UserCreateNestedOneWithoutInstallment_paymentsInput | No |
| payment | PaymentCreateNestedOneWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| installmentId | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| createdById | String | Null | Yes |
| paymentId | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| installment | InstallmentUpdateOneRequiredWithoutPaymentsNestedInput | No |
| created_by | UserUpdateOneWithoutInstallment_paymentsNestedInput | No |
| payment | PaymentUpdateOneWithoutInstallment_paymentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| installmentId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| paymentId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| installmentId | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| createdById | String | Null | Yes |
| paymentId | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| installmentId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| paymentId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| type | DocumentType | No |
| fileUrl | String | No |
| createdAt | DateTime | No |
| uploadedBy | UserCreateNestedOneWithoutDocumentsInput | No |
| organization | OrganizationCreateNestedOneWithoutDocumentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutDocumentsInput | No |
| sale | SaleCreateNestedOneWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| saleId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| uploadedBy | UserUpdateOneWithoutDocumentsNestedInput | No |
| organization | OrganizationUpdateOneRequiredWithoutDocumentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutDocumentsNestedInput | No |
| sale | SaleUpdateOneWithoutDocumentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| uploadedById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| saleId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| uploadedById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| language | String | Null | Yes |
| dateFormat | String | Null | Yes |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | Null | Yes |
| logoUrl | String | Null | Yes |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSettingsInput | No |
| baseCurrency | CurrencyCreateNestedOneWithoutSettingsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| baseCurrencyId | String | No |
| language | String | Null | Yes |
| dateFormat | String | Null | Yes |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | Null | Yes |
| logoUrl | String | Null | Yes |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| language | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| dateFormat | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| enableInstallment | Boolean | BoolFieldUpdateOperationsInput | No |
| enableNotifications | Boolean | BoolFieldUpdateOperationsInput | No |
| enableAutoRateUpdate | Boolean | BoolFieldUpdateOperationsInput | No |
| taxPercent | Decimal | NullableDecimalFieldUpdateOperationsInput | Null | Yes |
| logoUrl | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| theme | ThemeType | EnumThemeTypeFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutSettingsNestedInput | No |
| baseCurrency | CurrencyUpdateOneRequiredWithoutSettingsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| baseCurrencyId | String | StringFieldUpdateOperationsInput | No |
| language | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| dateFormat | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| enableInstallment | Boolean | BoolFieldUpdateOperationsInput | No |
| enableNotifications | Boolean | BoolFieldUpdateOperationsInput | No |
| enableAutoRateUpdate | Boolean | BoolFieldUpdateOperationsInput | No |
| taxPercent | Decimal | NullableDecimalFieldUpdateOperationsInput | Null | Yes |
| logoUrl | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| theme | ThemeType | EnumThemeTypeFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| baseCurrencyId | String | No |
| language | String | Null | Yes |
| dateFormat | String | Null | Yes |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | Null | Yes |
| logoUrl | String | Null | Yes |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| language | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| dateFormat | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| enableInstallment | Boolean | BoolFieldUpdateOperationsInput | No |
| enableNotifications | Boolean | BoolFieldUpdateOperationsInput | No |
| enableAutoRateUpdate | Boolean | BoolFieldUpdateOperationsInput | No |
| taxPercent | Decimal | NullableDecimalFieldUpdateOperationsInput | Null | Yes |
| logoUrl | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| theme | ThemeType | EnumThemeTypeFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| baseCurrencyId | String | StringFieldUpdateOperationsInput | No |
| language | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| dateFormat | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| enableInstallment | Boolean | BoolFieldUpdateOperationsInput | No |
| enableNotifications | Boolean | BoolFieldUpdateOperationsInput | No |
| enableAutoRateUpdate | Boolean | BoolFieldUpdateOperationsInput | No |
| taxPercent | Decimal | NullableDecimalFieldUpdateOperationsInput | Null | Yes |
| logoUrl | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| theme | ThemeType | EnumThemeTypeFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| action | String | No |
| entity | String | No |
| entityId | String | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutAudit_logsInput | No |
| user | UserCreateNestedOneWithoutAudit_logsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| action | String | No |
| entity | String | No |
| entityId | String | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutAudit_logsNestedInput | No |
| user | UserUpdateOneWithoutAudit_logsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| action | String | No |
| entity | String | No |
| entityId | String | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| equals | String | StringFieldRefInput | No |
| in | String | ListStringFieldRefInput | No |
| notIn | String | ListStringFieldRefInput | No |
| lt | String | StringFieldRefInput | No |
| lte | String | StringFieldRefInput | No |
| gt | String | StringFieldRefInput | No |
| gte | String | StringFieldRefInput | No |
| contains | String | StringFieldRefInput | No |
| startsWith | String | StringFieldRefInput | No |
| endsWith | String | StringFieldRefInput | No |
| mode | QueryMode | No |
| not | String | NestedStringFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DateTime | DateTimeFieldRefInput | No |
| in | DateTime | ListDateTimeFieldRefInput | No |
| notIn | DateTime | ListDateTimeFieldRefInput | No |
| lt | DateTime | DateTimeFieldRefInput | No |
| lte | DateTime | DateTimeFieldRefInput | No |
| gt | DateTime | DateTimeFieldRefInput | No |
| gte | DateTime | DateTimeFieldRefInput | No |
| not | DateTime | NestedDateTimeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| every | ProductPriceWhereInput | No |
| some | ProductPriceWhereInput | No |
| none | ProductPriceWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | KassaWhereInput | No |
| some | KassaWhereInput | No |
| none | KassaWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | PaymentWhereInput | No |
| some | PaymentWhereInput | No |
| none | PaymentWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | TransactionWhereInput | No |
| some | TransactionWhereInput | No |
| none | TransactionWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | SaleWhereInput | No |
| some | SaleWhereInput | No |
| none | SaleWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | SaleItemWhereInput | No |
| some | SaleItemWhereInput | No |
| none | SaleItemWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | PurchaseWhereInput | No |
| some | PurchaseWhereInput | No |
| none | PurchaseWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | KassaTransferWhereInput | No |
| some | KassaTransferWhereInput | No |
| none | KassaTransferWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | SettingsWhereInput | No |
| some | SettingsWhereInput | No |
| none | SettingsWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| code | SortOrder | No |
| name | SortOrder | No |
| symbol | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| code | SortOrder | No |
| name | SortOrder | No |
| symbol | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| code | SortOrder | No |
| name | SortOrder | No |
| symbol | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | String | StringFieldRefInput | No |
| in | String | ListStringFieldRefInput | No |
| notIn | String | ListStringFieldRefInput | No |
| lt | String | StringFieldRefInput | No |
| lte | String | StringFieldRefInput | No |
| gt | String | StringFieldRefInput | No |
| gte | String | StringFieldRefInput | No |
| contains | String | StringFieldRefInput | No |
| startsWith | String | StringFieldRefInput | No |
| endsWith | String | StringFieldRefInput | No |
| mode | QueryMode | No |
| not | String | NestedStringWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedStringFilter | No |
| _max | NestedStringFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DateTime | DateTimeFieldRefInput | No |
| in | DateTime | ListDateTimeFieldRefInput | No |
| notIn | DateTime | ListDateTimeFieldRefInput | No |
| lt | DateTime | DateTimeFieldRefInput | No |
| lte | DateTime | DateTimeFieldRefInput | No |
| gt | DateTime | DateTimeFieldRefInput | No |
| gte | DateTime | DateTimeFieldRefInput | No |
| not | DateTime | NestedDateTimeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedDateTimeFilter | No |
| _max | NestedDateTimeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Decimal | DecimalFieldRefInput | No |
| in | Decimal[] | ListDecimalFieldRefInput | No |
| notIn | Decimal[] | ListDecimalFieldRefInput | No |
| lt | Decimal | DecimalFieldRefInput | No |
| lte | Decimal | DecimalFieldRefInput | No |
| gt | Decimal | DecimalFieldRefInput | No |
| gte | Decimal | DecimalFieldRefInput | No |
| not | Decimal | NestedDecimalFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| baseCurrency | SortOrder | No |
| targetCurrency | SortOrder | No |
| rate | SortOrder | No |
| date | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| rate | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| baseCurrency | SortOrder | No |
| targetCurrency | SortOrder | No |
| rate | SortOrder | No |
| date | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| baseCurrency | SortOrder | No |
| targetCurrency | SortOrder | No |
| rate | SortOrder | No |
| date | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| rate | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Decimal | DecimalFieldRefInput | No |
| in | Decimal[] | ListDecimalFieldRefInput | No |
| notIn | Decimal[] | ListDecimalFieldRefInput | No |
| lt | Decimal | DecimalFieldRefInput | No |
| lte | Decimal | DecimalFieldRefInput | No |
| gt | Decimal | DecimalFieldRefInput | No |
| gte | Decimal | DecimalFieldRefInput | No |
| not | Decimal | NestedDecimalWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _avg | NestedDecimalFilter | No |
| _sum | NestedDecimalFilter | No |
| _min | NestedDecimalFilter | No |
| _max | NestedDecimalFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | String | StringFieldRefInput | Null | Yes |
| in | String | ListStringFieldRefInput | Null | Yes |
| notIn | String | ListStringFieldRefInput | Null | Yes |
| lt | String | StringFieldRefInput | No |
| lte | String | StringFieldRefInput | No |
| gt | String | StringFieldRefInput | No |
| gte | String | StringFieldRefInput | No |
| contains | String | StringFieldRefInput | No |
| startsWith | String | StringFieldRefInput | No |
| endsWith | String | StringFieldRefInput | No |
| mode | QueryMode | No |
| not | String | NestedStringNullableFilter | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| every | OrganizationUserWhereInput | No |
| some | OrganizationUserWhereInput | No |
| none | OrganizationUserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | OrganizationCustomerWhereInput | No |
| some | OrganizationCustomerWhereInput | No |
| none | OrganizationCustomerWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | ProductWhereInput | No |
| some | ProductWhereInput | No |
| none | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | ProductInstanceWhereInput | No |
| some | ProductInstanceWhereInput | No |
| none | ProductInstanceWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | StockWhereInput | No |
| some | StockWhereInput | No |
| none | StockWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| is | SettingsWhereInput | Null | Yes |
| isNot | SettingsWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| every | AuditLogWhereInput | No |
| some | AuditLogWhereInput | No |
| none | AuditLogWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | DocumentWhereInput | No |
| some | DocumentWhereInput | No |
| none | DocumentWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| sort | SortOrder | No |
| nulls | NullsOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| address | SortOrder | No |
| phone | SortOrder | No |
| SortOrder | No | |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| address | SortOrder | No |
| phone | SortOrder | No |
| SortOrder | No | |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| address | SortOrder | No |
| phone | SortOrder | No |
| SortOrder | No | |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | String | StringFieldRefInput | Null | Yes |
| in | String | ListStringFieldRefInput | Null | Yes |
| notIn | String | ListStringFieldRefInput | Null | Yes |
| lt | String | StringFieldRefInput | No |
| lte | String | StringFieldRefInput | No |
| gt | String | StringFieldRefInput | No |
| gte | String | StringFieldRefInput | No |
| contains | String | StringFieldRefInput | No |
| startsWith | String | StringFieldRefInput | No |
| endsWith | String | StringFieldRefInput | No |
| mode | QueryMode | No |
| not | String | NestedStringNullableWithAggregatesFilter | Null | Yes |
| _count | NestedIntNullableFilter | No |
| _min | NestedStringNullableFilter | No |
| _max | NestedStringNullableFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Boolean | BooleanFieldRefInput | No |
| not | Boolean | NestedBoolFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | UserProfileWhereInput | Null | Yes |
| isNot | UserProfileWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| is | RoleWhereInput | Null | Yes |
| isNot | RoleWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| every | UserPhoneWhereInput | No |
| some | UserPhoneWhereInput | No |
| none | UserPhoneWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | InstallmentPaymentWhereInput | No |
| some | InstallmentPaymentWhereInput | No |
| none | InstallmentPaymentWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| SortOrder | No | |
| password | SortOrder | No |
| isActive | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| roleId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| SortOrder | No | |
| password | SortOrder | No |
| isActive | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| roleId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| SortOrder | No | |
| password | SortOrder | No |
| isActive | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| roleId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Boolean | BooleanFieldRefInput | No |
| not | Boolean | NestedBoolWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedBoolFilter | No |
| _max | NestedBoolFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DateTime | DateTimeFieldRefInput | Null | Yes |
| in | DateTime | ListDateTimeFieldRefInput | Null | Yes |
| notIn | DateTime | ListDateTimeFieldRefInput | Null | Yes |
| lt | DateTime | DateTimeFieldRefInput | No |
| lte | DateTime | DateTimeFieldRefInput | No |
| gt | DateTime | DateTimeFieldRefInput | No |
| gte | DateTime | DateTimeFieldRefInput | No |
| not | DateTime | NestedDateTimeNullableFilter | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| equals | Gender | EnumGenderFieldRefInput | No |
| in | Gender[] | ListEnumGenderFieldRefInput | No |
| notIn | Gender[] | ListEnumGenderFieldRefInput | No |
| not | Gender | NestedEnumGenderFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | UserWhereInput | No |
| isNot | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | No |
| dateOfBirth | SortOrder | No |
| gender | SortOrder | No |
| passportSeries | SortOrder | No |
| passportNumber | SortOrder | No |
| issuedBy | SortOrder | No |
| issuedDate | SortOrder | No |
| expiryDate | SortOrder | No |
| country | SortOrder | No |
| region | SortOrder | No |
| city | SortOrder | No |
| address | SortOrder | No |
| registration | SortOrder | No |
| district | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | No |
| dateOfBirth | SortOrder | No |
| gender | SortOrder | No |
| passportSeries | SortOrder | No |
| passportNumber | SortOrder | No |
| issuedBy | SortOrder | No |
| issuedDate | SortOrder | No |
| expiryDate | SortOrder | No |
| country | SortOrder | No |
| region | SortOrder | No |
| city | SortOrder | No |
| address | SortOrder | No |
| registration | SortOrder | No |
| district | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | No |
| dateOfBirth | SortOrder | No |
| gender | SortOrder | No |
| passportSeries | SortOrder | No |
| passportNumber | SortOrder | No |
| issuedBy | SortOrder | No |
| issuedDate | SortOrder | No |
| expiryDate | SortOrder | No |
| country | SortOrder | No |
| region | SortOrder | No |
| city | SortOrder | No |
| address | SortOrder | No |
| registration | SortOrder | No |
| district | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DateTime | DateTimeFieldRefInput | Null | Yes |
| in | DateTime | ListDateTimeFieldRefInput | Null | Yes |
| notIn | DateTime | ListDateTimeFieldRefInput | Null | Yes |
| lt | DateTime | DateTimeFieldRefInput | No |
| lte | DateTime | DateTimeFieldRefInput | No |
| gt | DateTime | DateTimeFieldRefInput | No |
| gte | DateTime | DateTimeFieldRefInput | No |
| not | DateTime | NestedDateTimeNullableWithAggregatesFilter | Null | Yes |
| _count | NestedIntNullableFilter | No |
| _min | NestedDateTimeNullableFilter | No |
| _max | NestedDateTimeNullableFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Gender | EnumGenderFieldRefInput | No |
| in | Gender[] | ListEnumGenderFieldRefInput | No |
| notIn | Gender[] | ListEnumGenderFieldRefInput | No |
| not | Gender | NestedEnumGenderWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumGenderFilter | No |
| _max | NestedEnumGenderFilter | No |
| Name | Type | Nullable |
|---|---|---|
| every | UserWhereInput | No |
| some | UserWhereInput | No |
| none | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| phone | SortOrder | No |
| note | SortOrder | No |
| isPrimary | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| phone | SortOrder | No |
| note | SortOrder | No |
| isPrimary | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| userId | SortOrder | No |
| phone | SortOrder | No |
| note | SortOrder | No |
| isPrimary | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | OrgUserRole | EnumOrgUserRoleFieldRefInput | No |
| in | OrgUserRole[] | ListEnumOrgUserRoleFieldRefInput | No |
| notIn | OrgUserRole[] | ListEnumOrgUserRoleFieldRefInput | No |
| not | OrgUserRole | NestedEnumOrgUserRoleFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | OrganizationWhereInput | No |
| isNot | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| role | SortOrder | No |
| position | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| role | SortOrder | No |
| position | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| role | SortOrder | No |
| position | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | OrgUserRole | EnumOrgUserRoleFieldRefInput | No |
| in | OrgUserRole[] | ListEnumOrgUserRoleFieldRefInput | No |
| notIn | OrgUserRole[] | ListEnumOrgUserRoleFieldRefInput | No |
| not | OrgUserRole | NestedEnumOrgUserRoleWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumOrgUserRoleFilter | No |
| _max | NestedEnumOrgUserRoleFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | CustomerType | EnumCustomerTypeFieldRefInput | No |
| in | CustomerType[] | ListEnumCustomerTypeFieldRefInput | No |
| notIn | CustomerType[] | ListEnumCustomerTypeFieldRefInput | No |
| not | CustomerType | NestedEnumCustomerTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | UserWhereInput | Null | Yes |
| isNot | UserWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| every | InstallmentWhereInput | No |
| some | InstallmentWhereInput | No |
| none | InstallmentWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | No |
| phone | SortOrder | No |
| type | SortOrder | No |
| isBlacklisted | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | No |
| phone | SortOrder | No |
| type | SortOrder | No |
| isBlacklisted | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| firstName | SortOrder | No |
| lastName | SortOrder | No |
| patronymic | SortOrder | No |
| phone | SortOrder | No |
| type | SortOrder | No |
| isBlacklisted | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | CustomerType | EnumCustomerTypeFieldRefInput | No |
| in | CustomerType[] | ListEnumCustomerTypeFieldRefInput | No |
| notIn | CustomerType[] | ListEnumCustomerTypeFieldRefInput | No |
| not | CustomerType | NestedEnumCustomerTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumCustomerTypeFilter | No |
| _max | NestedEnumCustomerTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| is | BrandWhereInput | Null | Yes |
| isNot | BrandWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| every | ProductCategoryWhereInput | No |
| some | ProductCategoryWhereInput | No |
| none | ProductCategoryWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | PurchaseItemWhereInput | No |
| some | PurchaseItemWhereInput | No |
| none | PurchaseItemWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| every | ProductBatchWhereInput | No |
| some | ProductBatchWhereInput | No |
| none | ProductBatchWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | No |
| expiry_date | SortOrder | No |
| serial_number | SortOrder | No |
| barcode | SortOrder | No |
| brandId | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | No |
| expiry_date | SortOrder | No |
| serial_number | SortOrder | No |
| barcode | SortOrder | No |
| brandId | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| description | SortOrder | No |
| expiry_date | SortOrder | No |
| serial_number | SortOrder | No |
| barcode | SortOrder | No |
| brandId | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| name | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| is | ProductWhereInput | No |
| isNot | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| is | CategoryWhereInput | No |
| isNot | CategoryWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | No |
| categoryId | String | No |
| Name | Type | Nullable |
|---|---|---|
| productId | SortOrder | No |
| categoryId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| productId | SortOrder | No |
| categoryId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| productId | SortOrder | No |
| categoryId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PriceType | EnumPriceTypeFieldRefInput | No |
| in | PriceType[] | ListEnumPriceTypeFieldRefInput | No |
| notIn | PriceType[] | ListEnumPriceTypeFieldRefInput | No |
| not | PriceType | NestedEnumPriceTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | CustomerType | EnumCustomerTypeFieldRefInput | Null | Yes |
| in | CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null | Yes |
| notIn | CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null | Yes |
| not | CustomerType | NestedEnumCustomerTypeNullableFilter | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| is | CurrencyWhereInput | No |
| isNot | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| is | OrganizationWhereInput | Null | Yes |
| isNot | OrganizationWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| organizationId | SortOrder | No |
| priceType | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| customerType | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| amount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| organizationId | SortOrder | No |
| priceType | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| customerType | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| organizationId | SortOrder | No |
| priceType | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| customerType | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| amount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PriceType | EnumPriceTypeFieldRefInput | No |
| in | PriceType[] | ListEnumPriceTypeFieldRefInput | No |
| notIn | PriceType[] | ListEnumPriceTypeFieldRefInput | No |
| not | PriceType | NestedEnumPriceTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumPriceTypeFilter | No |
| _max | NestedEnumPriceTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | CustomerType | EnumCustomerTypeFieldRefInput | Null | Yes |
| in | CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null | Yes |
| notIn | CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null | Yes |
| not | CustomerType | NestedEnumCustomerTypeNullableWithAggregatesFilter | Null | Yes |
| _count | NestedIntNullableFilter | No |
| _min | NestedEnumCustomerTypeNullableFilter | No |
| _max | NestedEnumCustomerTypeNullableFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ProductStatus | EnumProductStatusFieldRefInput | No |
| in | ProductStatus[] | ListEnumProductStatusFieldRefInput | No |
| notIn | ProductStatus[] | ListEnumProductStatusFieldRefInput | No |
| not | ProductStatus | NestedEnumProductStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | OrganizationCustomerWhereInput | Null | Yes |
| isNot | OrganizationCustomerWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| every | ProductTransactionWhereInput | No |
| some | ProductTransactionWhereInput | No |
| none | ProductTransactionWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| serialNumber | SortOrder | No |
| currentOwnerId | SortOrder | No |
| currentStatus | SortOrder | No |
| organizationId | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| serialNumber | SortOrder | No |
| currentOwnerId | SortOrder | No |
| currentStatus | SortOrder | No |
| organizationId | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| serialNumber | SortOrder | No |
| currentOwnerId | SortOrder | No |
| currentStatus | SortOrder | No |
| organizationId | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ProductStatus | EnumProductStatusFieldRefInput | No |
| in | ProductStatus[] | ListEnumProductStatusFieldRefInput | No |
| notIn | ProductStatus[] | ListEnumProductStatusFieldRefInput | No |
| not | ProductStatus | NestedEnumProductStatusWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumProductStatusFilter | No |
| _max | NestedEnumProductStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ProductAction | EnumProductActionFieldRefInput | No |
| in | ProductAction[] | ListEnumProductActionFieldRefInput | No |
| notIn | ProductAction[] | ListEnumProductActionFieldRefInput | No |
| not | ProductAction | NestedEnumProductActionFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | ProductInstanceWhereInput | No |
| isNot | ProductInstanceWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productInstanceId | SortOrder | No |
| fromCustomerId | SortOrder | No |
| toCustomerId | SortOrder | No |
| toOrganizationId | SortOrder | No |
| saleId | SortOrder | No |
| action | SortOrder | No |
| date | SortOrder | No |
| description | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productInstanceId | SortOrder | No |
| fromCustomerId | SortOrder | No |
| toCustomerId | SortOrder | No |
| toOrganizationId | SortOrder | No |
| saleId | SortOrder | No |
| action | SortOrder | No |
| date | SortOrder | No |
| description | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productInstanceId | SortOrder | No |
| fromCustomerId | SortOrder | No |
| toCustomerId | SortOrder | No |
| toOrganizationId | SortOrder | No |
| saleId | SortOrder | No |
| action | SortOrder | No |
| date | SortOrder | No |
| description | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ProductAction | EnumProductActionFieldRefInput | No |
| in | ProductAction[] | ListEnumProductActionFieldRefInput | No |
| notIn | ProductAction[] | ListEnumProductActionFieldRefInput | No |
| not | ProductAction | NestedEnumProductActionWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumProductActionFilter | No |
| _max | NestedEnumProductActionFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Int | IntFieldRefInput | No |
| in | Int | ListIntFieldRefInput | No |
| notIn | Int | ListIntFieldRefInput | No |
| lt | Int | IntFieldRefInput | No |
| lte | Int | IntFieldRefInput | No |
| gt | Int | IntFieldRefInput | No |
| gte | Int | IntFieldRefInput | No |
| not | Int | NestedIntFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| batchNumber | SortOrder | No |
| expiryDate | SortOrder | No |
| quantity | SortOrder | No |
| isValid | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| batchNumber | SortOrder | No |
| expiryDate | SortOrder | No |
| quantity | SortOrder | No |
| isValid | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| productId | SortOrder | No |
| batchNumber | SortOrder | No |
| expiryDate | SortOrder | No |
| quantity | SortOrder | No |
| isValid | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Int | IntFieldRefInput | No |
| in | Int | ListIntFieldRefInput | No |
| notIn | Int | ListIntFieldRefInput | No |
| lt | Int | IntFieldRefInput | No |
| lte | Int | IntFieldRefInput | No |
| gt | Int | IntFieldRefInput | No |
| gte | Int | IntFieldRefInput | No |
| not | Int | NestedIntWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _avg | NestedFloatFilter | No |
| _sum | NestedIntFilter | No |
| _min | NestedIntFilter | No |
| _max | NestedIntFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| type | SortOrder | No |
| currencyId | SortOrder | No |
| balance | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| balance | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| type | SortOrder | No |
| currencyId | SortOrder | No |
| balance | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| name | SortOrder | No |
| type | SortOrder | No |
| currencyId | SortOrder | No |
| balance | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| balance | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| is | KassaWhereInput | No |
| isNot | KassaWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| fromKassaId | SortOrder | No |
| toKassaId | SortOrder | No |
| fromCurrencyId | SortOrder | No |
| toCurrencyId | SortOrder | No |
| rate | SortOrder | No |
| amount | SortOrder | No |
| convertedAmount | SortOrder | No |
| description | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| rate | SortOrder | No |
| amount | SortOrder | No |
| convertedAmount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| fromKassaId | SortOrder | No |
| toKassaId | SortOrder | No |
| fromCurrencyId | SortOrder | No |
| toCurrencyId | SortOrder | No |
| rate | SortOrder | No |
| amount | SortOrder | No |
| convertedAmount | SortOrder | No |
| description | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| fromKassaId | SortOrder | No |
| toKassaId | SortOrder | No |
| fromCurrencyId | SortOrder | No |
| toCurrencyId | SortOrder | No |
| rate | SortOrder | No |
| amount | SortOrder | No |
| convertedAmount | SortOrder | No |
| description | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| rate | SortOrder | No |
| amount | SortOrder | No |
| convertedAmount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PaymentType | EnumPaymentTypeFieldRefInput | No |
| in | PaymentType[] | ListEnumPaymentTypeFieldRefInput | No |
| notIn | PaymentType[] | ListEnumPaymentTypeFieldRefInput | No |
| not | PaymentType | NestedEnumPaymentTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | PurchaseWhereInput | Null | Yes |
| isNot | PurchaseWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| is | SaleWhereInput | Null | Yes |
| isNot | SaleWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| customerId | SortOrder | No |
| kassaId | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| type | SortOrder | No |
| description | SortOrder | No |
| purchaseId | SortOrder | No |
| saleId | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| amount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| customerId | SortOrder | No |
| kassaId | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| type | SortOrder | No |
| description | SortOrder | No |
| purchaseId | SortOrder | No |
| saleId | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| customerId | SortOrder | No |
| kassaId | SortOrder | No |
| amount | SortOrder | No |
| currencyId | SortOrder | No |
| type | SortOrder | No |
| description | SortOrder | No |
| purchaseId | SortOrder | No |
| saleId | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| amount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PaymentType | EnumPaymentTypeFieldRefInput | No |
| in | PaymentType[] | ListEnumPaymentTypeFieldRefInput | No |
| notIn | PaymentType[] | ListEnumPaymentTypeFieldRefInput | No |
| not | PaymentType | NestedEnumPaymentTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumPaymentTypeFilter | No |
| _max | NestedEnumPaymentTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | RelatedType | EnumRelatedTypeFieldRefInput | No |
| in | RelatedType[] | ListEnumRelatedTypeFieldRefInput | No |
| notIn | RelatedType[] | ListEnumRelatedTypeFieldRefInput | No |
| not | RelatedType | NestedEnumRelatedTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | OrganizationCustomerWhereInput | No |
| isNot | OrganizationCustomerWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| relatedType | SortOrder | No |
| relatedId | SortOrder | No |
| date | SortOrder | No |
| debit | SortOrder | No |
| credit | SortOrder | No |
| balanceAfter | SortOrder | No |
| currencyId | SortOrder | No |
| description | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| debit | SortOrder | No |
| credit | SortOrder | No |
| balanceAfter | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| relatedType | SortOrder | No |
| relatedId | SortOrder | No |
| date | SortOrder | No |
| debit | SortOrder | No |
| credit | SortOrder | No |
| balanceAfter | SortOrder | No |
| currencyId | SortOrder | No |
| description | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| relatedType | SortOrder | No |
| relatedId | SortOrder | No |
| date | SortOrder | No |
| debit | SortOrder | No |
| credit | SortOrder | No |
| balanceAfter | SortOrder | No |
| currencyId | SortOrder | No |
| description | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| debit | SortOrder | No |
| credit | SortOrder | No |
| balanceAfter | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | RelatedType | EnumRelatedTypeFieldRefInput | No |
| in | RelatedType[] | ListEnumRelatedTypeFieldRefInput | No |
| notIn | RelatedType[] | ListEnumRelatedTypeFieldRefInput | No |
| not | RelatedType | NestedEnumRelatedTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumRelatedTypeFilter | No |
| _max | NestedEnumRelatedTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | SaleStatus | EnumSaleStatusFieldRefInput | No |
| in | SaleStatus[] | ListEnumSaleStatusFieldRefInput | No |
| notIn | SaleStatus[] | ListEnumSaleStatusFieldRefInput | No |
| not | SaleStatus | NestedEnumSaleStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | KassaWhereInput | Null | Yes |
| isNot | KassaWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| responsibleId | SortOrder | No |
| kassaId | SortOrder | No |
| invoiceNumber | SortOrder | No |
| saleDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| responsibleId | SortOrder | No |
| kassaId | SortOrder | No |
| invoiceNumber | SortOrder | No |
| saleDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| responsibleId | SortOrder | No |
| kassaId | SortOrder | No |
| invoiceNumber | SortOrder | No |
| saleDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | SaleStatus | EnumSaleStatusFieldRefInput | No |
| in | SaleStatus[] | ListEnumSaleStatusFieldRefInput | No |
| notIn | SaleStatus[] | ListEnumSaleStatusFieldRefInput | No |
| not | SaleStatus | NestedEnumSaleStatusWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumSaleStatusFilter | No |
| _max | NestedEnumSaleStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | SaleWhereInput | No |
| isNot | SaleWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| total | SortOrder | No |
| currencyId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | SortOrder | No |
| price | SortOrder | No |
| total | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| total | SortOrder | No |
| currencyId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| total | SortOrder | No |
| currencyId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | SortOrder | No |
| price | SortOrder | No |
| total | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PurchaseStatus | EnumPurchaseStatusFieldRefInput | No |
| in | PurchaseStatus[] | ListEnumPurchaseStatusFieldRefInput | No |
| notIn | PurchaseStatus[] | ListEnumPurchaseStatusFieldRefInput | No |
| not | PurchaseStatus | NestedEnumPurchaseStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| supplierId | SortOrder | No |
| responsibleId | SortOrder | No |
| kassaId | SortOrder | No |
| invoiceNumber | SortOrder | No |
| purchaseDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| supplierId | SortOrder | No |
| responsibleId | SortOrder | No |
| kassaId | SortOrder | No |
| invoiceNumber | SortOrder | No |
| purchaseDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| supplierId | SortOrder | No |
| responsibleId | SortOrder | No |
| kassaId | SortOrder | No |
| invoiceNumber | SortOrder | No |
| purchaseDate | SortOrder | No |
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| currencyId | SortOrder | No |
| status | SortOrder | No |
| notes | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| totalAmount | SortOrder | No |
| paidAmount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PurchaseStatus | EnumPurchaseStatusFieldRefInput | No |
| in | PurchaseStatus[] | ListEnumPurchaseStatusFieldRefInput | No |
| notIn | PurchaseStatus[] | ListEnumPurchaseStatusFieldRefInput | No |
| not | PurchaseStatus | NestedEnumPurchaseStatusWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumPurchaseStatusFilter | No |
| _max | NestedEnumPurchaseStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | PurchaseWhereInput | No |
| isNot | PurchaseWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| purchaseId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| discount | SortOrder | No |
| total | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | SortOrder | No |
| price | SortOrder | No |
| discount | SortOrder | No |
| total | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| purchaseId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| discount | SortOrder | No |
| total | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| purchaseId | SortOrder | No |
| productId | SortOrder | No |
| quantity | SortOrder | No |
| price | SortOrder | No |
| discount | SortOrder | No |
| total | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | SortOrder | No |
| price | SortOrder | No |
| discount | SortOrder | No |
| total | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | InstallmentStatus | EnumInstallmentStatusFieldRefInput | No |
| in | InstallmentStatus[] | ListEnumInstallmentStatusFieldRefInput | No |
| notIn | InstallmentStatus[] | ListEnumInstallmentStatusFieldRefInput | No |
| not | InstallmentStatus | NestedEnumInstallmentStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| customerId | SortOrder | No |
| totalAmount | SortOrder | No |
| initialPayment | SortOrder | No |
| paidAmount | SortOrder | No |
| remaining | SortOrder | No |
| totalMonths | SortOrder | No |
| monthsLeft | SortOrder | No |
| monthlyPayment | SortOrder | No |
| dueDate | SortOrder | No |
| status | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| totalAmount | SortOrder | No |
| initialPayment | SortOrder | No |
| paidAmount | SortOrder | No |
| remaining | SortOrder | No |
| totalMonths | SortOrder | No |
| monthsLeft | SortOrder | No |
| monthlyPayment | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| customerId | SortOrder | No |
| totalAmount | SortOrder | No |
| initialPayment | SortOrder | No |
| paidAmount | SortOrder | No |
| remaining | SortOrder | No |
| totalMonths | SortOrder | No |
| monthsLeft | SortOrder | No |
| monthlyPayment | SortOrder | No |
| dueDate | SortOrder | No |
| status | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| saleId | SortOrder | No |
| customerId | SortOrder | No |
| totalAmount | SortOrder | No |
| initialPayment | SortOrder | No |
| paidAmount | SortOrder | No |
| remaining | SortOrder | No |
| totalMonths | SortOrder | No |
| monthsLeft | SortOrder | No |
| monthlyPayment | SortOrder | No |
| dueDate | SortOrder | No |
| status | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| totalAmount | SortOrder | No |
| initialPayment | SortOrder | No |
| paidAmount | SortOrder | No |
| remaining | SortOrder | No |
| totalMonths | SortOrder | No |
| monthsLeft | SortOrder | No |
| monthlyPayment | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | InstallmentStatus | EnumInstallmentStatusFieldRefInput | No |
| in | InstallmentStatus[] | ListEnumInstallmentStatusFieldRefInput | No |
| notIn | InstallmentStatus[] | ListEnumInstallmentStatusFieldRefInput | No |
| not | InstallmentStatus | NestedEnumInstallmentStatusWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumInstallmentStatusFilter | No |
| _max | NestedEnumInstallmentStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| is | InstallmentWhereInput | No |
| isNot | InstallmentWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| is | PaymentWhereInput | Null | Yes |
| isNot | PaymentWhereInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| installmentId | SortOrder | No |
| amount | SortOrder | No |
| paidAt | SortOrder | No |
| paymentMethod | SortOrder | No |
| note | SortOrder | No |
| createdById | SortOrder | No |
| paymentId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| amount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| installmentId | SortOrder | No |
| amount | SortOrder | No |
| paidAt | SortOrder | No |
| paymentMethod | SortOrder | No |
| note | SortOrder | No |
| createdById | SortOrder | No |
| paymentId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| installmentId | SortOrder | No |
| amount | SortOrder | No |
| paidAt | SortOrder | No |
| paymentMethod | SortOrder | No |
| note | SortOrder | No |
| createdById | SortOrder | No |
| paymentId | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| amount | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DocumentType | EnumDocumentTypeFieldRefInput | No |
| in | DocumentType[] | ListEnumDocumentTypeFieldRefInput | No |
| notIn | DocumentType[] | ListEnumDocumentTypeFieldRefInput | No |
| not | DocumentType | NestedEnumDocumentTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| saleId | SortOrder | No |
| type | SortOrder | No |
| fileUrl | SortOrder | No |
| uploadedById | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| saleId | SortOrder | No |
| type | SortOrder | No |
| fileUrl | SortOrder | No |
| uploadedById | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| customerId | SortOrder | No |
| saleId | SortOrder | No |
| type | SortOrder | No |
| fileUrl | SortOrder | No |
| uploadedById | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DocumentType | EnumDocumentTypeFieldRefInput | No |
| in | DocumentType[] | ListEnumDocumentTypeFieldRefInput | No |
| notIn | DocumentType[] | ListEnumDocumentTypeFieldRefInput | No |
| not | DocumentType | NestedEnumDocumentTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumDocumentTypeFilter | No |
| _max | NestedEnumDocumentTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Decimal | DecimalFieldRefInput | Null | Yes |
| in | Decimal[] | ListDecimalFieldRefInput | Null | Yes |
| notIn | Decimal[] | ListDecimalFieldRefInput | Null | Yes |
| lt | Decimal | DecimalFieldRefInput | No |
| lte | Decimal | DecimalFieldRefInput | No |
| gt | Decimal | DecimalFieldRefInput | No |
| gte | Decimal | DecimalFieldRefInput | No |
| not | Decimal | NestedDecimalNullableFilter | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| equals | ThemeType | EnumThemeTypeFieldRefInput | No |
| in | ThemeType[] | ListEnumThemeTypeFieldRefInput | No |
| notIn | ThemeType[] | ListEnumThemeTypeFieldRefInput | No |
| not | ThemeType | NestedEnumThemeTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| baseCurrencyId | SortOrder | No |
| language | SortOrder | No |
| dateFormat | SortOrder | No |
| enableInstallment | SortOrder | No |
| enableNotifications | SortOrder | No |
| enableAutoRateUpdate | SortOrder | No |
| taxPercent | SortOrder | No |
| logoUrl | SortOrder | No |
| theme | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| taxPercent | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| baseCurrencyId | SortOrder | No |
| language | SortOrder | No |
| dateFormat | SortOrder | No |
| enableInstallment | SortOrder | No |
| enableNotifications | SortOrder | No |
| enableAutoRateUpdate | SortOrder | No |
| taxPercent | SortOrder | No |
| logoUrl | SortOrder | No |
| theme | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| baseCurrencyId | SortOrder | No |
| language | SortOrder | No |
| dateFormat | SortOrder | No |
| enableInstallment | SortOrder | No |
| enableNotifications | SortOrder | No |
| enableAutoRateUpdate | SortOrder | No |
| taxPercent | SortOrder | No |
| logoUrl | SortOrder | No |
| theme | SortOrder | No |
| createdAt | SortOrder | No |
| updatedAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| taxPercent | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Decimal | DecimalFieldRefInput | Null | Yes |
| in | Decimal[] | ListDecimalFieldRefInput | Null | Yes |
| notIn | Decimal[] | ListDecimalFieldRefInput | Null | Yes |
| lt | Decimal | DecimalFieldRefInput | No |
| lte | Decimal | DecimalFieldRefInput | No |
| gt | Decimal | DecimalFieldRefInput | No |
| gte | Decimal | DecimalFieldRefInput | No |
| not | Decimal | NestedDecimalNullableWithAggregatesFilter | Null | Yes |
| _count | NestedIntNullableFilter | No |
| _avg | NestedDecimalNullableFilter | No |
| _sum | NestedDecimalNullableFilter | No |
| _min | NestedDecimalNullableFilter | No |
| _max | NestedDecimalNullableFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ThemeType | EnumThemeTypeFieldRefInput | No |
| in | ThemeType[] | ListEnumThemeTypeFieldRefInput | No |
| notIn | ThemeType[] | ListEnumThemeTypeFieldRefInput | No |
| not | ThemeType | NestedEnumThemeTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumThemeTypeFilter | No |
| _max | NestedEnumThemeTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Json | JsonFieldRefInput | JsonNullValueFilter | No |
| path | String | No |
| mode | QueryMode | EnumQueryModeFieldRefInput | No |
| string_contains | String | StringFieldRefInput | No |
| string_starts_with | String | StringFieldRefInput | No |
| string_ends_with | String | StringFieldRefInput | No |
| array_starts_with | Json | JsonFieldRefInput | Null | Yes |
| array_ends_with | Json | JsonFieldRefInput | Null | Yes |
| array_contains | Json | JsonFieldRefInput | Null | Yes |
| lt | Json | JsonFieldRefInput | No |
| lte | Json | JsonFieldRefInput | No |
| gt | Json | JsonFieldRefInput | No |
| gte | Json | JsonFieldRefInput | No |
| not | Json | JsonFieldRefInput | JsonNullValueFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| action | SortOrder | No |
| entity | SortOrder | No |
| entityId | SortOrder | No |
| oldValue | SortOrder | No |
| newValue | SortOrder | No |
| note | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| action | SortOrder | No |
| entity | SortOrder | No |
| entityId | SortOrder | No |
| note | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| id | SortOrder | No |
| organizationId | SortOrder | No |
| userId | SortOrder | No |
| action | SortOrder | No |
| entity | SortOrder | No |
| entityId | SortOrder | No |
| note | SortOrder | No |
| createdAt | SortOrder | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Json | JsonFieldRefInput | JsonNullValueFilter | No |
| path | String | No |
| mode | QueryMode | EnumQueryModeFieldRefInput | No |
| string_contains | String | StringFieldRefInput | No |
| string_starts_with | String | StringFieldRefInput | No |
| string_ends_with | String | StringFieldRefInput | No |
| array_starts_with | Json | JsonFieldRefInput | Null | Yes |
| array_ends_with | Json | JsonFieldRefInput | Null | Yes |
| array_contains | Json | JsonFieldRefInput | Null | Yes |
| lt | Json | JsonFieldRefInput | No |
| lte | Json | JsonFieldRefInput | No |
| gt | Json | JsonFieldRefInput | No |
| gte | Json | JsonFieldRefInput | No |
| not | Json | JsonFieldRefInput | JsonNullValueFilter | No |
| _count | NestedIntNullableFilter | No |
| _min | NestedJsonNullableFilter | No |
| _max | NestedJsonNullableFilter | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutCurrencyInput | KassaCreateWithoutCurrencyInput[] | KassaUncheckedCreateWithoutCurrencyInput | KassaUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | KassaCreateOrConnectWithoutCurrencyInput | KassaCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | KassaCreateManyCurrencyInputEnvelope | No |
| connect | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutCurrencyInput | PaymentCreateWithoutCurrencyInput[] | PaymentUncheckedCreateWithoutCurrencyInput | PaymentUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutCurrencyInput | PaymentCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | PaymentCreateManyCurrencyInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | TransactionCreateWithoutCurrencyInput | TransactionCreateWithoutCurrencyInput[] | TransactionUncheckedCreateWithoutCurrencyInput | TransactionUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | TransactionCreateOrConnectWithoutCurrencyInput | TransactionCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | TransactionCreateManyCurrencyInputEnvelope | No |
| connect | TransactionWhereUniqueInput | TransactionWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutCurrencyInput | SaleCreateWithoutCurrencyInput[] | SaleUncheckedCreateWithoutCurrencyInput | SaleUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutCurrencyInput | SaleCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | SaleCreateManyCurrencyInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleItemCreateWithoutCurrencyInput | SaleItemCreateWithoutCurrencyInput[] | SaleItemUncheckedCreateWithoutCurrencyInput | SaleItemUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | SaleItemCreateOrConnectWithoutCurrencyInput | SaleItemCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | SaleItemCreateManyCurrencyInputEnvelope | No |
| connect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutCurrencyInput | PurchaseCreateWithoutCurrencyInput[] | PurchaseUncheckedCreateWithoutCurrencyInput | PurchaseUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutCurrencyInput | PurchaseCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | PurchaseCreateManyCurrencyInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SettingsCreateWithoutBaseCurrencyInput | SettingsCreateWithoutBaseCurrencyInput[] | SettingsUncheckedCreateWithoutBaseCurrencyInput | SettingsUncheckedCreateWithoutBaseCurrencyInput[] | No |
| connectOrCreate | SettingsCreateOrConnectWithoutBaseCurrencyInput | SettingsCreateOrConnectWithoutBaseCurrencyInput[] | No |
| createMany | SettingsCreateManyBaseCurrencyInputEnvelope | No |
| connect | SettingsWhereUniqueInput | SettingsWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutCurrencyInput | KassaCreateWithoutCurrencyInput[] | KassaUncheckedCreateWithoutCurrencyInput | KassaUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | KassaCreateOrConnectWithoutCurrencyInput | KassaCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | KassaCreateManyCurrencyInputEnvelope | No |
| connect | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutCurrencyInput | PaymentCreateWithoutCurrencyInput[] | PaymentUncheckedCreateWithoutCurrencyInput | PaymentUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutCurrencyInput | PaymentCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | PaymentCreateManyCurrencyInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | TransactionCreateWithoutCurrencyInput | TransactionCreateWithoutCurrencyInput[] | TransactionUncheckedCreateWithoutCurrencyInput | TransactionUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | TransactionCreateOrConnectWithoutCurrencyInput | TransactionCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | TransactionCreateManyCurrencyInputEnvelope | No |
| connect | TransactionWhereUniqueInput | TransactionWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutCurrencyInput | SaleCreateWithoutCurrencyInput[] | SaleUncheckedCreateWithoutCurrencyInput | SaleUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutCurrencyInput | SaleCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | SaleCreateManyCurrencyInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleItemCreateWithoutCurrencyInput | SaleItemCreateWithoutCurrencyInput[] | SaleItemUncheckedCreateWithoutCurrencyInput | SaleItemUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | SaleItemCreateOrConnectWithoutCurrencyInput | SaleItemCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | SaleItemCreateManyCurrencyInputEnvelope | No |
| connect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutCurrencyInput | PurchaseCreateWithoutCurrencyInput[] | PurchaseUncheckedCreateWithoutCurrencyInput | PurchaseUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutCurrencyInput | PurchaseCreateOrConnectWithoutCurrencyInput[] | No |
| createMany | PurchaseCreateManyCurrencyInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SettingsCreateWithoutBaseCurrencyInput | SettingsCreateWithoutBaseCurrencyInput[] | SettingsUncheckedCreateWithoutBaseCurrencyInput | SettingsUncheckedCreateWithoutBaseCurrencyInput[] | No |
| connectOrCreate | SettingsCreateOrConnectWithoutBaseCurrencyInput | SettingsCreateOrConnectWithoutBaseCurrencyInput[] | No |
| createMany | SettingsCreateManyBaseCurrencyInputEnvelope | No |
| connect | SettingsWhereUniqueInput | SettingsWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| set | String | No |
| Name | Type | Nullable |
|---|---|---|
| set | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutCurrencyInput | KassaCreateWithoutCurrencyInput[] | KassaUncheckedCreateWithoutCurrencyInput | KassaUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | KassaCreateOrConnectWithoutCurrencyInput | KassaCreateOrConnectWithoutCurrencyInput[] | No |
| upsert | KassaUpsertWithWhereUniqueWithoutCurrencyInput | KassaUpsertWithWhereUniqueWithoutCurrencyInput[] | No |
| createMany | KassaCreateManyCurrencyInputEnvelope | No |
| set | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| disconnect | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| delete | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| connect | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| update | KassaUpdateWithWhereUniqueWithoutCurrencyInput | KassaUpdateWithWhereUniqueWithoutCurrencyInput[] | No |
| updateMany | KassaUpdateManyWithWhereWithoutCurrencyInput | KassaUpdateManyWithWhereWithoutCurrencyInput[] | No |
| deleteMany | KassaScalarWhereInput | KassaScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutCurrencyInput | SaleCreateWithoutCurrencyInput[] | SaleUncheckedCreateWithoutCurrencyInput | SaleUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutCurrencyInput | SaleCreateOrConnectWithoutCurrencyInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutCurrencyInput | SaleUpsertWithWhereUniqueWithoutCurrencyInput[] | No |
| createMany | SaleCreateManyCurrencyInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutCurrencyInput | SaleUpdateWithWhereUniqueWithoutCurrencyInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutCurrencyInput | SaleUpdateManyWithWhereWithoutCurrencyInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutCurrencyInput | KassaCreateWithoutCurrencyInput[] | KassaUncheckedCreateWithoutCurrencyInput | KassaUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | KassaCreateOrConnectWithoutCurrencyInput | KassaCreateOrConnectWithoutCurrencyInput[] | No |
| upsert | KassaUpsertWithWhereUniqueWithoutCurrencyInput | KassaUpsertWithWhereUniqueWithoutCurrencyInput[] | No |
| createMany | KassaCreateManyCurrencyInputEnvelope | No |
| set | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| disconnect | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| delete | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| connect | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| update | KassaUpdateWithWhereUniqueWithoutCurrencyInput | KassaUpdateWithWhereUniqueWithoutCurrencyInput[] | No |
| updateMany | KassaUpdateManyWithWhereWithoutCurrencyInput | KassaUpdateManyWithWhereWithoutCurrencyInput[] | No |
| deleteMany | KassaScalarWhereInput | KassaScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutCurrencyInput | SaleCreateWithoutCurrencyInput[] | SaleUncheckedCreateWithoutCurrencyInput | SaleUncheckedCreateWithoutCurrencyInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutCurrencyInput | SaleCreateOrConnectWithoutCurrencyInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutCurrencyInput | SaleUpsertWithWhereUniqueWithoutCurrencyInput[] | No |
| createMany | SaleCreateManyCurrencyInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutCurrencyInput | SaleUpdateWithWhereUniqueWithoutCurrencyInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutCurrencyInput | SaleUpdateManyWithWhereWithoutCurrencyInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| set | Decimal | No |
| increment | Decimal | No |
| decrement | Decimal | No |
| multiply | Decimal | No |
| divide | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutOrganizationInput | ProductCreateWithoutOrganizationInput[] | ProductUncheckedCreateWithoutOrganizationInput | ProductUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | ProductCreateOrConnectWithoutOrganizationInput | ProductCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | ProductCreateManyOrganizationInputEnvelope | No |
| connect | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutOrganizationInput | KassaCreateWithoutOrganizationInput[] | KassaUncheckedCreateWithoutOrganizationInput | KassaUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | KassaCreateOrConnectWithoutOrganizationInput | KassaCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | KassaCreateManyOrganizationInputEnvelope | No |
| connect | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutOrganizationInput | PaymentCreateWithoutOrganizationInput[] | PaymentUncheckedCreateWithoutOrganizationInput | PaymentUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutOrganizationInput | PaymentCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | PaymentCreateManyOrganizationInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutOrganizationInput | SaleCreateWithoutOrganizationInput[] | SaleUncheckedCreateWithoutOrganizationInput | SaleUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutOrganizationInput | SaleCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | SaleCreateManyOrganizationInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutOrganizationInput | PurchaseCreateWithoutOrganizationInput[] | PurchaseUncheckedCreateWithoutOrganizationInput | PurchaseUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutOrganizationInput | PurchaseCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | PurchaseCreateManyOrganizationInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | StockCreateWithoutOrganizationInput | StockCreateWithoutOrganizationInput[] | StockUncheckedCreateWithoutOrganizationInput | StockUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | StockCreateOrConnectWithoutOrganizationInput | StockCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | StockCreateManyOrganizationInputEnvelope | No |
| connect | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SettingsCreateWithoutOrganizationInput | SettingsUncheckedCreateWithoutOrganizationInput | No |
| connectOrCreate | SettingsCreateOrConnectWithoutOrganizationInput | No |
| connect | SettingsWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | AuditLogCreateWithoutOrganizationInput | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput | AuditLogUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | AuditLogCreateManyOrganizationInputEnvelope | No |
| connect | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutOrganizationInput | DocumentCreateWithoutOrganizationInput[] | DocumentUncheckedCreateWithoutOrganizationInput | DocumentUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutOrganizationInput | DocumentCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | DocumentCreateManyOrganizationInputEnvelope | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutOrganizationInput | ProductCreateWithoutOrganizationInput[] | ProductUncheckedCreateWithoutOrganizationInput | ProductUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | ProductCreateOrConnectWithoutOrganizationInput | ProductCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | ProductCreateManyOrganizationInputEnvelope | No |
| connect | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutOrganizationInput | KassaCreateWithoutOrganizationInput[] | KassaUncheckedCreateWithoutOrganizationInput | KassaUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | KassaCreateOrConnectWithoutOrganizationInput | KassaCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | KassaCreateManyOrganizationInputEnvelope | No |
| connect | KassaWhereUniqueInput | KassaWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutOrganizationInput | PaymentCreateWithoutOrganizationInput[] | PaymentUncheckedCreateWithoutOrganizationInput | PaymentUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutOrganizationInput | PaymentCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | PaymentCreateManyOrganizationInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutOrganizationInput | SaleCreateWithoutOrganizationInput[] | SaleUncheckedCreateWithoutOrganizationInput | SaleUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutOrganizationInput | SaleCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | SaleCreateManyOrganizationInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutOrganizationInput | PurchaseCreateWithoutOrganizationInput[] | PurchaseUncheckedCreateWithoutOrganizationInput | PurchaseUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutOrganizationInput | PurchaseCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | PurchaseCreateManyOrganizationInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | StockCreateWithoutOrganizationInput | StockCreateWithoutOrganizationInput[] | StockUncheckedCreateWithoutOrganizationInput | StockUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | StockCreateOrConnectWithoutOrganizationInput | StockCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | StockCreateManyOrganizationInputEnvelope | No |
| connect | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SettingsCreateWithoutOrganizationInput | SettingsUncheckedCreateWithoutOrganizationInput | No |
| connectOrCreate | SettingsCreateOrConnectWithoutOrganizationInput | No |
| connect | SettingsWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | AuditLogCreateWithoutOrganizationInput | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput | AuditLogUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | AuditLogCreateManyOrganizationInputEnvelope | No |
| connect | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutOrganizationInput | DocumentCreateWithoutOrganizationInput[] | DocumentUncheckedCreateWithoutOrganizationInput | DocumentUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutOrganizationInput | DocumentCreateOrConnectWithoutOrganizationInput[] | No |
| createMany | DocumentCreateManyOrganizationInputEnvelope | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| set | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutOrganizationInput | SaleCreateWithoutOrganizationInput[] | SaleUncheckedCreateWithoutOrganizationInput | SaleUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutOrganizationInput | SaleCreateOrConnectWithoutOrganizationInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutOrganizationInput | SaleUpsertWithWhereUniqueWithoutOrganizationInput[] | No |
| createMany | SaleCreateManyOrganizationInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutOrganizationInput | SaleUpdateWithWhereUniqueWithoutOrganizationInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutOrganizationInput | SaleUpdateManyWithWhereWithoutOrganizationInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SettingsCreateWithoutOrganizationInput | SettingsUncheckedCreateWithoutOrganizationInput | No |
| connectOrCreate | SettingsCreateOrConnectWithoutOrganizationInput | No |
| upsert | SettingsUpsertWithoutOrganizationInput | No |
| disconnect | Boolean | SettingsWhereInput | No |
| delete | Boolean | SettingsWhereInput | No |
| connect | SettingsWhereUniqueInput | No |
| update | SettingsUpdateToOneWithWhereWithoutOrganizationInput | SettingsUpdateWithoutOrganizationInput | SettingsUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutOrganizationInput | SaleCreateWithoutOrganizationInput[] | SaleUncheckedCreateWithoutOrganizationInput | SaleUncheckedCreateWithoutOrganizationInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutOrganizationInput | SaleCreateOrConnectWithoutOrganizationInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutOrganizationInput | SaleUpsertWithWhereUniqueWithoutOrganizationInput[] | No |
| createMany | SaleCreateManyOrganizationInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutOrganizationInput | SaleUpdateWithWhereUniqueWithoutOrganizationInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutOrganizationInput | SaleUpdateManyWithWhereWithoutOrganizationInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SettingsCreateWithoutOrganizationInput | SettingsUncheckedCreateWithoutOrganizationInput | No |
| connectOrCreate | SettingsCreateOrConnectWithoutOrganizationInput | No |
| upsert | SettingsUpsertWithoutOrganizationInput | No |
| disconnect | Boolean | SettingsWhereInput | No |
| delete | Boolean | SettingsWhereInput | No |
| connect | SettingsWhereUniqueInput | No |
| update | SettingsUpdateToOneWithWhereWithoutOrganizationInput | SettingsUpdateWithoutOrganizationInput | SettingsUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput | No |
| connectOrCreate | UserProfileCreateOrConnectWithoutUserInput | No |
| connect | UserProfileWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | RoleCreateWithoutUsersInput | RoleUncheckedCreateWithoutUsersInput | No |
| connectOrCreate | RoleCreateOrConnectWithoutUsersInput | No |
| connect | RoleWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutUserInput | PaymentCreateWithoutUserInput[] | PaymentUncheckedCreateWithoutUserInput | PaymentUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutUserInput | PaymentCreateOrConnectWithoutUserInput[] | No |
| createMany | PaymentCreateManyUserInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutResponsibleInput | SaleCreateWithoutResponsibleInput[] | SaleUncheckedCreateWithoutResponsibleInput | SaleUncheckedCreateWithoutResponsibleInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutResponsibleInput | SaleCreateOrConnectWithoutResponsibleInput[] | No |
| createMany | SaleCreateManyResponsibleInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutResponsibleInput | PurchaseCreateWithoutResponsibleInput[] | PurchaseUncheckedCreateWithoutResponsibleInput | PurchaseUncheckedCreateWithoutResponsibleInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutResponsibleInput | PurchaseCreateOrConnectWithoutResponsibleInput[] | No |
| createMany | PurchaseCreateManyResponsibleInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserPhoneCreateWithoutUserInput | UserPhoneCreateWithoutUserInput[] | UserPhoneUncheckedCreateWithoutUserInput | UserPhoneUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | UserPhoneCreateOrConnectWithoutUserInput | UserPhoneCreateOrConnectWithoutUserInput[] | No |
| createMany | UserPhoneCreateManyUserInputEnvelope | No |
| connect | UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | AuditLogCreateWithoutUserInput | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput | AuditLogUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[] | No |
| createMany | AuditLogCreateManyUserInputEnvelope | No |
| connect | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutUploadedByInput | DocumentCreateWithoutUploadedByInput[] | DocumentUncheckedCreateWithoutUploadedByInput | DocumentUncheckedCreateWithoutUploadedByInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutUploadedByInput | DocumentCreateOrConnectWithoutUploadedByInput[] | No |
| createMany | DocumentCreateManyUploadedByInputEnvelope | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput | No |
| connectOrCreate | UserProfileCreateOrConnectWithoutUserInput | No |
| connect | UserProfileWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutUserInput | PaymentCreateWithoutUserInput[] | PaymentUncheckedCreateWithoutUserInput | PaymentUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutUserInput | PaymentCreateOrConnectWithoutUserInput[] | No |
| createMany | PaymentCreateManyUserInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutResponsibleInput | SaleCreateWithoutResponsibleInput[] | SaleUncheckedCreateWithoutResponsibleInput | SaleUncheckedCreateWithoutResponsibleInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutResponsibleInput | SaleCreateOrConnectWithoutResponsibleInput[] | No |
| createMany | SaleCreateManyResponsibleInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutResponsibleInput | PurchaseCreateWithoutResponsibleInput[] | PurchaseUncheckedCreateWithoutResponsibleInput | PurchaseUncheckedCreateWithoutResponsibleInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutResponsibleInput | PurchaseCreateOrConnectWithoutResponsibleInput[] | No |
| createMany | PurchaseCreateManyResponsibleInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserPhoneCreateWithoutUserInput | UserPhoneCreateWithoutUserInput[] | UserPhoneUncheckedCreateWithoutUserInput | UserPhoneUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | UserPhoneCreateOrConnectWithoutUserInput | UserPhoneCreateOrConnectWithoutUserInput[] | No |
| createMany | UserPhoneCreateManyUserInputEnvelope | No |
| connect | UserPhoneWhereUniqueInput | UserPhoneWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | AuditLogCreateWithoutUserInput | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput | AuditLogUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[] | No |
| createMany | AuditLogCreateManyUserInputEnvelope | No |
| connect | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutUploadedByInput | DocumentCreateWithoutUploadedByInput[] | DocumentUncheckedCreateWithoutUploadedByInput | DocumentUncheckedCreateWithoutUploadedByInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutUploadedByInput | DocumentCreateOrConnectWithoutUploadedByInput[] | No |
| createMany | DocumentCreateManyUploadedByInputEnvelope | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| set | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput | No |
| connectOrCreate | UserProfileCreateOrConnectWithoutUserInput | No |
| upsert | UserProfileUpsertWithoutUserInput | No |
| disconnect | Boolean | UserProfileWhereInput | No |
| delete | Boolean | UserProfileWhereInput | No |
| connect | UserProfileWhereUniqueInput | No |
| update | UserProfileUpdateToOneWithWhereWithoutUserInput | UserProfileUpdateWithoutUserInput | UserProfileUncheckedUpdateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | RoleCreateWithoutUsersInput | RoleUncheckedCreateWithoutUsersInput | No |
| connectOrCreate | RoleCreateOrConnectWithoutUsersInput | No |
| upsert | RoleUpsertWithoutUsersInput | No |
| disconnect | Boolean | RoleWhereInput | No |
| delete | Boolean | RoleWhereInput | No |
| connect | RoleWhereUniqueInput | No |
| update | RoleUpdateToOneWithWhereWithoutUsersInput | RoleUpdateWithoutUsersInput | RoleUncheckedUpdateWithoutUsersInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutUserInput | PaymentCreateWithoutUserInput[] | PaymentUncheckedCreateWithoutUserInput | PaymentUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutUserInput | PaymentCreateOrConnectWithoutUserInput[] | No |
| upsert | PaymentUpsertWithWhereUniqueWithoutUserInput | PaymentUpsertWithWhereUniqueWithoutUserInput[] | No |
| createMany | PaymentCreateManyUserInputEnvelope | No |
| set | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| disconnect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| delete | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| update | PaymentUpdateWithWhereUniqueWithoutUserInput | PaymentUpdateWithWhereUniqueWithoutUserInput[] | No |
| updateMany | PaymentUpdateManyWithWhereWithoutUserInput | PaymentUpdateManyWithWhereWithoutUserInput[] | No |
| deleteMany | PaymentScalarWhereInput | PaymentScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutResponsibleInput | SaleCreateWithoutResponsibleInput[] | SaleUncheckedCreateWithoutResponsibleInput | SaleUncheckedCreateWithoutResponsibleInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutResponsibleInput | SaleCreateOrConnectWithoutResponsibleInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutResponsibleInput | SaleUpsertWithWhereUniqueWithoutResponsibleInput[] | No |
| createMany | SaleCreateManyResponsibleInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutResponsibleInput | SaleUpdateWithWhereUniqueWithoutResponsibleInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutResponsibleInput | SaleUpdateManyWithWhereWithoutResponsibleInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | AuditLogCreateWithoutUserInput | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput | AuditLogUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[] | No |
| upsert | AuditLogUpsertWithWhereUniqueWithoutUserInput | AuditLogUpsertWithWhereUniqueWithoutUserInput[] | No |
| createMany | AuditLogCreateManyUserInputEnvelope | No |
| set | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| disconnect | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| delete | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| connect | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| update | AuditLogUpdateWithWhereUniqueWithoutUserInput | AuditLogUpdateWithWhereUniqueWithoutUserInput[] | No |
| updateMany | AuditLogUpdateManyWithWhereWithoutUserInput | AuditLogUpdateManyWithWhereWithoutUserInput[] | No |
| deleteMany | AuditLogScalarWhereInput | AuditLogScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput | No |
| connectOrCreate | UserProfileCreateOrConnectWithoutUserInput | No |
| upsert | UserProfileUpsertWithoutUserInput | No |
| disconnect | Boolean | UserProfileWhereInput | No |
| delete | Boolean | UserProfileWhereInput | No |
| connect | UserProfileWhereUniqueInput | No |
| update | UserProfileUpdateToOneWithWhereWithoutUserInput | UserProfileUpdateWithoutUserInput | UserProfileUncheckedUpdateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutUserInput | PaymentCreateWithoutUserInput[] | PaymentUncheckedCreateWithoutUserInput | PaymentUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutUserInput | PaymentCreateOrConnectWithoutUserInput[] | No |
| upsert | PaymentUpsertWithWhereUniqueWithoutUserInput | PaymentUpsertWithWhereUniqueWithoutUserInput[] | No |
| createMany | PaymentCreateManyUserInputEnvelope | No |
| set | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| disconnect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| delete | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| update | PaymentUpdateWithWhereUniqueWithoutUserInput | PaymentUpdateWithWhereUniqueWithoutUserInput[] | No |
| updateMany | PaymentUpdateManyWithWhereWithoutUserInput | PaymentUpdateManyWithWhereWithoutUserInput[] | No |
| deleteMany | PaymentScalarWhereInput | PaymentScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutResponsibleInput | SaleCreateWithoutResponsibleInput[] | SaleUncheckedCreateWithoutResponsibleInput | SaleUncheckedCreateWithoutResponsibleInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutResponsibleInput | SaleCreateOrConnectWithoutResponsibleInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutResponsibleInput | SaleUpsertWithWhereUniqueWithoutResponsibleInput[] | No |
| createMany | SaleCreateManyResponsibleInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutResponsibleInput | SaleUpdateWithWhereUniqueWithoutResponsibleInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutResponsibleInput | SaleUpdateManyWithWhereWithoutResponsibleInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | AuditLogCreateWithoutUserInput | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput | AuditLogUncheckedCreateWithoutUserInput[] | No |
| connectOrCreate | AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[] | No |
| upsert | AuditLogUpsertWithWhereUniqueWithoutUserInput | AuditLogUpsertWithWhereUniqueWithoutUserInput[] | No |
| createMany | AuditLogCreateManyUserInputEnvelope | No |
| set | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| disconnect | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| delete | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| connect | AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] | No |
| update | AuditLogUpdateWithWhereUniqueWithoutUserInput | AuditLogUpdateWithWhereUniqueWithoutUserInput[] | No |
| updateMany | AuditLogUpdateManyWithWhereWithoutUserInput | AuditLogUpdateManyWithWhereWithoutUserInput[] | No |
| deleteMany | AuditLogScalarWhereInput | AuditLogScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutProfileInput | UserUncheckedCreateWithoutProfileInput | No |
| connectOrCreate | UserCreateOrConnectWithoutProfileInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | DateTime | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| set | Gender | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutProfileInput | UserUncheckedCreateWithoutProfileInput | No |
| connectOrCreate | UserCreateOrConnectWithoutProfileInput | No |
| upsert | UserUpsertWithoutProfileInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutProfileInput | UserUpdateWithoutProfileInput | UserUncheckedUpdateWithoutProfileInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutRoleInput | UserCreateWithoutRoleInput[] | UserUncheckedCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput[] | No |
| connectOrCreate | UserCreateOrConnectWithoutRoleInput | UserCreateOrConnectWithoutRoleInput[] | No |
| createMany | UserCreateManyRoleInputEnvelope | No |
| connect | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutRoleInput | UserCreateWithoutRoleInput[] | UserUncheckedCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput[] | No |
| connectOrCreate | UserCreateOrConnectWithoutRoleInput | UserCreateOrConnectWithoutRoleInput[] | No |
| createMany | UserCreateManyRoleInputEnvelope | No |
| connect | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutRoleInput | UserCreateWithoutRoleInput[] | UserUncheckedCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput[] | No |
| connectOrCreate | UserCreateOrConnectWithoutRoleInput | UserCreateOrConnectWithoutRoleInput[] | No |
| upsert | UserUpsertWithWhereUniqueWithoutRoleInput | UserUpsertWithWhereUniqueWithoutRoleInput[] | No |
| createMany | UserCreateManyRoleInputEnvelope | No |
| set | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| disconnect | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| delete | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| connect | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| update | UserUpdateWithWhereUniqueWithoutRoleInput | UserUpdateWithWhereUniqueWithoutRoleInput[] | No |
| updateMany | UserUpdateManyWithWhereWithoutRoleInput | UserUpdateManyWithWhereWithoutRoleInput[] | No |
| deleteMany | UserScalarWhereInput | UserScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutRoleInput | UserCreateWithoutRoleInput[] | UserUncheckedCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput[] | No |
| connectOrCreate | UserCreateOrConnectWithoutRoleInput | UserCreateOrConnectWithoutRoleInput[] | No |
| upsert | UserUpsertWithWhereUniqueWithoutRoleInput | UserUpsertWithWhereUniqueWithoutRoleInput[] | No |
| createMany | UserCreateManyRoleInputEnvelope | No |
| set | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| disconnect | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| delete | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| connect | UserWhereUniqueInput | UserWhereUniqueInput[] | No |
| update | UserUpdateWithWhereUniqueWithoutRoleInput | UserUpdateWithWhereUniqueWithoutRoleInput[] | No |
| updateMany | UserUpdateManyWithWhereWithoutRoleInput | UserUpdateManyWithWhereWithoutRoleInput[] | No |
| deleteMany | UserScalarWhereInput | UserScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutPhone_numbersInput | UserUncheckedCreateWithoutPhone_numbersInput | No |
| connectOrCreate | UserCreateOrConnectWithoutPhone_numbersInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutPhone_numbersInput | UserUncheckedCreateWithoutPhone_numbersInput | No |
| connectOrCreate | UserCreateOrConnectWithoutPhone_numbersInput | No |
| upsert | UserUpsertWithoutPhone_numbersInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutPhone_numbersInput | UserUpdateWithoutPhone_numbersInput | UserUncheckedUpdateWithoutPhone_numbersInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutOrg_usersInput | OrganizationUncheckedCreateWithoutOrg_usersInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutOrg_usersInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutOrg_linksInput | UserUncheckedCreateWithoutOrg_linksInput | No |
| connectOrCreate | UserCreateOrConnectWithoutOrg_linksInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | OrgUserRole | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutOrg_usersInput | OrganizationUncheckedCreateWithoutOrg_usersInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutOrg_usersInput | No |
| upsert | OrganizationUpsertWithoutOrg_usersInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutOrg_usersInput | OrganizationUpdateWithoutOrg_usersInput | OrganizationUncheckedUpdateWithoutOrg_usersInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutOrg_linksInput | UserUncheckedCreateWithoutOrg_linksInput | No |
| connectOrCreate | UserCreateOrConnectWithoutOrg_linksInput | No |
| upsert | UserUpsertWithoutOrg_linksInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutOrg_linksInput | UserUpdateWithoutOrg_linksInput | UserUncheckedUpdateWithoutOrg_linksInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutCustomersInput | OrganizationUncheckedCreateWithoutCustomersInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutCustomersInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutCutomer_linksInput | UserUncheckedCreateWithoutCutomer_linksInput | No |
| connectOrCreate | UserCreateOrConnectWithoutCutomer_linksInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutCustomerInput | PaymentCreateWithoutCustomerInput[] | PaymentUncheckedCreateWithoutCustomerInput | PaymentUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutCustomerInput | PaymentCreateOrConnectWithoutCustomerInput[] | No |
| createMany | PaymentCreateManyCustomerInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | TransactionCreateWithoutCustomerInput | TransactionCreateWithoutCustomerInput[] | TransactionUncheckedCreateWithoutCustomerInput | TransactionUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | TransactionCreateOrConnectWithoutCustomerInput | TransactionCreateOrConnectWithoutCustomerInput[] | No |
| createMany | TransactionCreateManyCustomerInputEnvelope | No |
| connect | TransactionWhereUniqueInput | TransactionWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutCustomerInput | SaleCreateWithoutCustomerInput[] | SaleUncheckedCreateWithoutCustomerInput | SaleUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutCustomerInput | SaleCreateOrConnectWithoutCustomerInput[] | No |
| createMany | SaleCreateManyCustomerInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutSupplierInput | PurchaseCreateWithoutSupplierInput[] | PurchaseUncheckedCreateWithoutSupplierInput | PurchaseUncheckedCreateWithoutSupplierInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutSupplierInput | PurchaseCreateOrConnectWithoutSupplierInput[] | No |
| createMany | PurchaseCreateManySupplierInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | InstallmentCreateWithoutCustomerInput | InstallmentCreateWithoutCustomerInput[] | InstallmentUncheckedCreateWithoutCustomerInput | InstallmentUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | InstallmentCreateOrConnectWithoutCustomerInput | InstallmentCreateOrConnectWithoutCustomerInput[] | No |
| createMany | InstallmentCreateManyCustomerInputEnvelope | No |
| connect | InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutCustomerInput | DocumentCreateWithoutCustomerInput[] | DocumentUncheckedCreateWithoutCustomerInput | DocumentUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutCustomerInput | DocumentCreateOrConnectWithoutCustomerInput[] | No |
| createMany | DocumentCreateManyCustomerInputEnvelope | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutCustomerInput | PaymentCreateWithoutCustomerInput[] | PaymentUncheckedCreateWithoutCustomerInput | PaymentUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutCustomerInput | PaymentCreateOrConnectWithoutCustomerInput[] | No |
| createMany | PaymentCreateManyCustomerInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | TransactionCreateWithoutCustomerInput | TransactionCreateWithoutCustomerInput[] | TransactionUncheckedCreateWithoutCustomerInput | TransactionUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | TransactionCreateOrConnectWithoutCustomerInput | TransactionCreateOrConnectWithoutCustomerInput[] | No |
| createMany | TransactionCreateManyCustomerInputEnvelope | No |
| connect | TransactionWhereUniqueInput | TransactionWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutCustomerInput | SaleCreateWithoutCustomerInput[] | SaleUncheckedCreateWithoutCustomerInput | SaleUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutCustomerInput | SaleCreateOrConnectWithoutCustomerInput[] | No |
| createMany | SaleCreateManyCustomerInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutSupplierInput | PurchaseCreateWithoutSupplierInput[] | PurchaseUncheckedCreateWithoutSupplierInput | PurchaseUncheckedCreateWithoutSupplierInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutSupplierInput | PurchaseCreateOrConnectWithoutSupplierInput[] | No |
| createMany | PurchaseCreateManySupplierInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | InstallmentCreateWithoutCustomerInput | InstallmentCreateWithoutCustomerInput[] | InstallmentUncheckedCreateWithoutCustomerInput | InstallmentUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | InstallmentCreateOrConnectWithoutCustomerInput | InstallmentCreateOrConnectWithoutCustomerInput[] | No |
| createMany | InstallmentCreateManyCustomerInputEnvelope | No |
| connect | InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutCustomerInput | DocumentCreateWithoutCustomerInput[] | DocumentUncheckedCreateWithoutCustomerInput | DocumentUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutCustomerInput | DocumentCreateOrConnectWithoutCustomerInput[] | No |
| createMany | DocumentCreateManyCustomerInputEnvelope | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| set | CustomerType | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutCustomersInput | OrganizationUncheckedCreateWithoutCustomersInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutCustomersInput | No |
| upsert | OrganizationUpsertWithoutCustomersInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutCustomersInput | OrganizationUpdateWithoutCustomersInput | OrganizationUncheckedUpdateWithoutCustomersInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutCutomer_linksInput | UserUncheckedCreateWithoutCutomer_linksInput | No |
| connectOrCreate | UserCreateOrConnectWithoutCutomer_linksInput | No |
| upsert | UserUpsertWithoutCutomer_linksInput | No |
| disconnect | Boolean | UserWhereInput | No |
| delete | Boolean | UserWhereInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutCutomer_linksInput | UserUpdateWithoutCutomer_linksInput | UserUncheckedUpdateWithoutCutomer_linksInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutCustomerInput | SaleCreateWithoutCustomerInput[] | SaleUncheckedCreateWithoutCustomerInput | SaleUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutCustomerInput | SaleCreateOrConnectWithoutCustomerInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutCustomerInput | SaleUpsertWithWhereUniqueWithoutCustomerInput[] | No |
| createMany | SaleCreateManyCustomerInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutCustomerInput | SaleUpdateWithWhereUniqueWithoutCustomerInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutCustomerInput | SaleUpdateManyWithWhereWithoutCustomerInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutCustomerInput | SaleCreateWithoutCustomerInput[] | SaleUncheckedCreateWithoutCustomerInput | SaleUncheckedCreateWithoutCustomerInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutCustomerInput | SaleCreateOrConnectWithoutCustomerInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutCustomerInput | SaleUpsertWithWhereUniqueWithoutCustomerInput[] | No |
| createMany | SaleCreateManyCustomerInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutCustomerInput | SaleUpdateWithWhereUniqueWithoutCustomerInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutCustomerInput | SaleUpdateManyWithWhereWithoutCustomerInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutBrandInput | ProductCreateWithoutBrandInput[] | ProductUncheckedCreateWithoutBrandInput | ProductUncheckedCreateWithoutBrandInput[] | No |
| connectOrCreate | ProductCreateOrConnectWithoutBrandInput | ProductCreateOrConnectWithoutBrandInput[] | No |
| createMany | ProductCreateManyBrandInputEnvelope | No |
| connect | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutBrandInput | ProductCreateWithoutBrandInput[] | ProductUncheckedCreateWithoutBrandInput | ProductUncheckedCreateWithoutBrandInput[] | No |
| connectOrCreate | ProductCreateOrConnectWithoutBrandInput | ProductCreateOrConnectWithoutBrandInput[] | No |
| createMany | ProductCreateManyBrandInputEnvelope | No |
| connect | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutBrandInput | ProductCreateWithoutBrandInput[] | ProductUncheckedCreateWithoutBrandInput | ProductUncheckedCreateWithoutBrandInput[] | No |
| connectOrCreate | ProductCreateOrConnectWithoutBrandInput | ProductCreateOrConnectWithoutBrandInput[] | No |
| upsert | ProductUpsertWithWhereUniqueWithoutBrandInput | ProductUpsertWithWhereUniqueWithoutBrandInput[] | No |
| createMany | ProductCreateManyBrandInputEnvelope | No |
| set | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| disconnect | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| delete | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| connect | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| update | ProductUpdateWithWhereUniqueWithoutBrandInput | ProductUpdateWithWhereUniqueWithoutBrandInput[] | No |
| updateMany | ProductUpdateManyWithWhereWithoutBrandInput | ProductUpdateManyWithWhereWithoutBrandInput[] | No |
| deleteMany | ProductScalarWhereInput | ProductScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutBrandInput | ProductCreateWithoutBrandInput[] | ProductUncheckedCreateWithoutBrandInput | ProductUncheckedCreateWithoutBrandInput[] | No |
| connectOrCreate | ProductCreateOrConnectWithoutBrandInput | ProductCreateOrConnectWithoutBrandInput[] | No |
| upsert | ProductUpsertWithWhereUniqueWithoutBrandInput | ProductUpsertWithWhereUniqueWithoutBrandInput[] | No |
| createMany | ProductCreateManyBrandInputEnvelope | No |
| set | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| disconnect | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| delete | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| connect | ProductWhereUniqueInput | ProductWhereUniqueInput[] | No |
| update | ProductUpdateWithWhereUniqueWithoutBrandInput | ProductUpdateWithWhereUniqueWithoutBrandInput[] | No |
| updateMany | ProductUpdateManyWithWhereWithoutBrandInput | ProductUpdateManyWithWhereWithoutBrandInput[] | No |
| deleteMany | ProductScalarWhereInput | ProductScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutProductsInput | OrganizationUncheckedCreateWithoutProductsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutProductsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | BrandCreateWithoutProductsInput | BrandUncheckedCreateWithoutProductsInput | No |
| connectOrCreate | BrandCreateOrConnectWithoutProductsInput | No |
| connect | BrandWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductPriceCreateWithoutProductInput | ProductPriceCreateWithoutProductInput[] | ProductPriceUncheckedCreateWithoutProductInput | ProductPriceUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | ProductPriceCreateOrConnectWithoutProductInput | ProductPriceCreateOrConnectWithoutProductInput[] | No |
| createMany | ProductPriceCreateManyProductInputEnvelope | No |
| connect | ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleItemCreateWithoutProductInput | SaleItemCreateWithoutProductInput[] | SaleItemUncheckedCreateWithoutProductInput | SaleItemUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | SaleItemCreateOrConnectWithoutProductInput | SaleItemCreateOrConnectWithoutProductInput[] | No |
| createMany | SaleItemCreateManyProductInputEnvelope | No |
| connect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseItemCreateWithoutProductInput | PurchaseItemCreateWithoutProductInput[] | PurchaseItemUncheckedCreateWithoutProductInput | PurchaseItemUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | PurchaseItemCreateOrConnectWithoutProductInput | PurchaseItemCreateOrConnectWithoutProductInput[] | No |
| createMany | PurchaseItemCreateManyProductInputEnvelope | No |
| connect | PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | StockCreateWithoutProductInput | StockCreateWithoutProductInput[] | StockUncheckedCreateWithoutProductInput | StockUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | StockCreateOrConnectWithoutProductInput | StockCreateOrConnectWithoutProductInput[] | No |
| createMany | StockCreateManyProductInputEnvelope | No |
| connect | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductBatchCreateWithoutProductInput | ProductBatchCreateWithoutProductInput[] | ProductBatchUncheckedCreateWithoutProductInput | ProductBatchUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | ProductBatchCreateOrConnectWithoutProductInput | ProductBatchCreateOrConnectWithoutProductInput[] | No |
| createMany | ProductBatchCreateManyProductInputEnvelope | No |
| connect | ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductPriceCreateWithoutProductInput | ProductPriceCreateWithoutProductInput[] | ProductPriceUncheckedCreateWithoutProductInput | ProductPriceUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | ProductPriceCreateOrConnectWithoutProductInput | ProductPriceCreateOrConnectWithoutProductInput[] | No |
| createMany | ProductPriceCreateManyProductInputEnvelope | No |
| connect | ProductPriceWhereUniqueInput | ProductPriceWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleItemCreateWithoutProductInput | SaleItemCreateWithoutProductInput[] | SaleItemUncheckedCreateWithoutProductInput | SaleItemUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | SaleItemCreateOrConnectWithoutProductInput | SaleItemCreateOrConnectWithoutProductInput[] | No |
| createMany | SaleItemCreateManyProductInputEnvelope | No |
| connect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseItemCreateWithoutProductInput | PurchaseItemCreateWithoutProductInput[] | PurchaseItemUncheckedCreateWithoutProductInput | PurchaseItemUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | PurchaseItemCreateOrConnectWithoutProductInput | PurchaseItemCreateOrConnectWithoutProductInput[] | No |
| createMany | PurchaseItemCreateManyProductInputEnvelope | No |
| connect | PurchaseItemWhereUniqueInput | PurchaseItemWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | StockCreateWithoutProductInput | StockCreateWithoutProductInput[] | StockUncheckedCreateWithoutProductInput | StockUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | StockCreateOrConnectWithoutProductInput | StockCreateOrConnectWithoutProductInput[] | No |
| createMany | StockCreateManyProductInputEnvelope | No |
| connect | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductBatchCreateWithoutProductInput | ProductBatchCreateWithoutProductInput[] | ProductBatchUncheckedCreateWithoutProductInput | ProductBatchUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | ProductBatchCreateOrConnectWithoutProductInput | ProductBatchCreateOrConnectWithoutProductInput[] | No |
| createMany | ProductBatchCreateManyProductInputEnvelope | No |
| connect | ProductBatchWhereUniqueInput | ProductBatchWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutProductsInput | OrganizationUncheckedCreateWithoutProductsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutProductsInput | No |
| upsert | OrganizationUpsertWithoutProductsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutProductsInput | OrganizationUpdateWithoutProductsInput | OrganizationUncheckedUpdateWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | BrandCreateWithoutProductsInput | BrandUncheckedCreateWithoutProductsInput | No |
| connectOrCreate | BrandCreateOrConnectWithoutProductsInput | No |
| upsert | BrandUpsertWithoutProductsInput | No |
| disconnect | Boolean | BrandWhereInput | No |
| delete | Boolean | BrandWhereInput | No |
| connect | BrandWhereUniqueInput | No |
| update | BrandUpdateToOneWithWhereWithoutProductsInput | BrandUpdateWithoutProductsInput | BrandUncheckedUpdateWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | StockCreateWithoutProductInput | StockCreateWithoutProductInput[] | StockUncheckedCreateWithoutProductInput | StockUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | StockCreateOrConnectWithoutProductInput | StockCreateOrConnectWithoutProductInput[] | No |
| upsert | StockUpsertWithWhereUniqueWithoutProductInput | StockUpsertWithWhereUniqueWithoutProductInput[] | No |
| createMany | StockCreateManyProductInputEnvelope | No |
| set | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| disconnect | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| delete | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| connect | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| update | StockUpdateWithWhereUniqueWithoutProductInput | StockUpdateWithWhereUniqueWithoutProductInput[] | No |
| updateMany | StockUpdateManyWithWhereWithoutProductInput | StockUpdateManyWithWhereWithoutProductInput[] | No |
| deleteMany | StockScalarWhereInput | StockScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | StockCreateWithoutProductInput | StockCreateWithoutProductInput[] | StockUncheckedCreateWithoutProductInput | StockUncheckedCreateWithoutProductInput[] | No |
| connectOrCreate | StockCreateOrConnectWithoutProductInput | StockCreateOrConnectWithoutProductInput[] | No |
| upsert | StockUpsertWithWhereUniqueWithoutProductInput | StockUpsertWithWhereUniqueWithoutProductInput[] | No |
| createMany | StockCreateManyProductInputEnvelope | No |
| set | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| disconnect | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| delete | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| connect | StockWhereUniqueInput | StockWhereUniqueInput[] | No |
| update | StockUpdateWithWhereUniqueWithoutProductInput | StockUpdateWithWhereUniqueWithoutProductInput[] | No |
| updateMany | StockUpdateManyWithWhereWithoutProductInput | StockUpdateManyWithWhereWithoutProductInput[] | No |
| deleteMany | StockScalarWhereInput | StockScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutCategoriesInput | ProductUncheckedCreateWithoutCategoriesInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutCategoriesInput | No |
| connect | ProductWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CategoryCreateWithoutProductsInput | CategoryUncheckedCreateWithoutProductsInput | No |
| connectOrCreate | CategoryCreateOrConnectWithoutProductsInput | No |
| connect | CategoryWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutCategoriesInput | ProductUncheckedCreateWithoutCategoriesInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutCategoriesInput | No |
| upsert | ProductUpsertWithoutCategoriesInput | No |
| connect | ProductWhereUniqueInput | No |
| update | ProductUpdateToOneWithWhereWithoutCategoriesInput | ProductUpdateWithoutCategoriesInput | ProductUncheckedUpdateWithoutCategoriesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CategoryCreateWithoutProductsInput | CategoryUncheckedCreateWithoutProductsInput | No |
| connectOrCreate | CategoryCreateOrConnectWithoutProductsInput | No |
| upsert | CategoryUpsertWithoutProductsInput | No |
| connect | CategoryWhereUniqueInput | No |
| update | CategoryUpdateToOneWithWhereWithoutProductsInput | CategoryUpdateWithoutProductsInput | CategoryUncheckedUpdateWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutProduct_pricesInput | CurrencyUncheckedCreateWithoutProduct_pricesInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutProduct_pricesInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutPricesInput | ProductUncheckedCreateWithoutPricesInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutPricesInput | No |
| connect | ProductWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutProduct_pricesInput | OrganizationUncheckedCreateWithoutProduct_pricesInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutProduct_pricesInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | PriceType | No |
| Name | Type | Nullable |
|---|---|---|
| set | CustomerType | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutProduct_pricesInput | CurrencyUncheckedCreateWithoutProduct_pricesInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutProduct_pricesInput | No |
| upsert | CurrencyUpsertWithoutProduct_pricesInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutProduct_pricesInput | CurrencyUpdateWithoutProduct_pricesInput | CurrencyUncheckedUpdateWithoutProduct_pricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutPricesInput | ProductUncheckedCreateWithoutPricesInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutPricesInput | No |
| upsert | ProductUpsertWithoutPricesInput | No |
| connect | ProductWhereUniqueInput | No |
| update | ProductUpdateToOneWithWhereWithoutPricesInput | ProductUpdateWithoutPricesInput | ProductUncheckedUpdateWithoutPricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutProduct_pricesInput | OrganizationUncheckedCreateWithoutProduct_pricesInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutProduct_pricesInput | No |
| upsert | OrganizationUpsertWithoutProduct_pricesInput | No |
| disconnect | Boolean | OrganizationWhereInput | No |
| delete | Boolean | OrganizationWhereInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutProduct_pricesInput | OrganizationUpdateWithoutProduct_pricesInput | OrganizationUncheckedUpdateWithoutProduct_pricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutInstancesInput | ProductUncheckedCreateWithoutInstancesInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutInstancesInput | No |
| connect | ProductWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutProduct_instancesInput | OrganizationUncheckedCreateWithoutProduct_instancesInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutProduct_instancesInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutProduct_instancesInput | OrganizationCustomerUncheckedCreateWithoutProduct_instancesInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutProduct_instancesInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | ProductStatus | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutInstancesInput | ProductUncheckedCreateWithoutInstancesInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutInstancesInput | No |
| upsert | ProductUpsertWithoutInstancesInput | No |
| connect | ProductWhereUniqueInput | No |
| update | ProductUpdateToOneWithWhereWithoutInstancesInput | ProductUpdateWithoutInstancesInput | ProductUncheckedUpdateWithoutInstancesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutProduct_instancesInput | OrganizationCustomerUncheckedCreateWithoutProduct_instancesInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutProduct_instancesInput | No |
| upsert | OrganizationCustomerUpsertWithoutProduct_instancesInput | No |
| disconnect | Boolean | OrganizationCustomerWhereInput | No |
| delete | Boolean | OrganizationCustomerWhereInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| update | OrganizationCustomerUpdateToOneWithWhereWithoutProduct_instancesInput | OrganizationCustomerUpdateWithoutProduct_instancesInput | OrganizationCustomerUncheckedUpdateWithoutProduct_instancesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductInstanceCreateWithoutTransactionsInput | ProductInstanceUncheckedCreateWithoutTransactionsInput | No |
| connectOrCreate | ProductInstanceCreateOrConnectWithoutTransactionsInput | No |
| connect | ProductInstanceWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | ProductAction | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutProduct_batchesInput | ProductUncheckedCreateWithoutProduct_batchesInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutProduct_batchesInput | No |
| connect | ProductWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | Int | No |
| increment | Int | No |
| decrement | Int | No |
| multiply | Int | No |
| divide | Int | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutProduct_batchesInput | ProductUncheckedCreateWithoutProduct_batchesInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutProduct_batchesInput | No |
| upsert | ProductUpsertWithoutProduct_batchesInput | No |
| connect | ProductWhereUniqueInput | No |
| update | ProductUpdateToOneWithWhereWithoutProduct_batchesInput | ProductUpdateWithoutProduct_batchesInput | ProductUncheckedUpdateWithoutProduct_batchesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutStocksInput | OrganizationUncheckedCreateWithoutStocksInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutStocksInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutStocksInput | ProductUncheckedCreateWithoutStocksInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutStocksInput | No |
| connect | ProductWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutStocksInput | OrganizationUncheckedCreateWithoutStocksInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutStocksInput | No |
| upsert | OrganizationUpsertWithoutStocksInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutStocksInput | OrganizationUpdateWithoutStocksInput | OrganizationUncheckedUpdateWithoutStocksInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutStocksInput | ProductUncheckedCreateWithoutStocksInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutStocksInput | No |
| upsert | ProductUpsertWithoutStocksInput | No |
| connect | ProductWhereUniqueInput | No |
| update | ProductUpdateToOneWithWhereWithoutStocksInput | ProductUpdateWithoutStocksInput | ProductUncheckedUpdateWithoutStocksInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutKassasInput | OrganizationUncheckedCreateWithoutKassasInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutKassasInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutKassasInput | CurrencyUncheckedCreateWithoutKassasInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutKassasInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutKassaInput | PaymentCreateWithoutKassaInput[] | PaymentUncheckedCreateWithoutKassaInput | PaymentUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutKassaInput | PaymentCreateOrConnectWithoutKassaInput[] | No |
| createMany | PaymentCreateManyKassaInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutKassaInput | PurchaseCreateWithoutKassaInput[] | PurchaseUncheckedCreateWithoutKassaInput | PurchaseUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutKassaInput | PurchaseCreateOrConnectWithoutKassaInput[] | No |
| createMany | PurchaseCreateManyKassaInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutKassaInput | SaleCreateWithoutKassaInput[] | SaleUncheckedCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutKassaInput | SaleCreateOrConnectWithoutKassaInput[] | No |
| createMany | SaleCreateManyKassaInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutKassaInput | PaymentCreateWithoutKassaInput[] | PaymentUncheckedCreateWithoutKassaInput | PaymentUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutKassaInput | PaymentCreateOrConnectWithoutKassaInput[] | No |
| createMany | PaymentCreateManyKassaInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutKassaInput | PurchaseCreateWithoutKassaInput[] | PurchaseUncheckedCreateWithoutKassaInput | PurchaseUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutKassaInput | PurchaseCreateOrConnectWithoutKassaInput[] | No |
| createMany | PurchaseCreateManyKassaInputEnvelope | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutKassaInput | SaleCreateWithoutKassaInput[] | SaleUncheckedCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutKassaInput | SaleCreateOrConnectWithoutKassaInput[] | No |
| createMany | SaleCreateManyKassaInputEnvelope | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutKassasInput | OrganizationUncheckedCreateWithoutKassasInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutKassasInput | No |
| upsert | OrganizationUpsertWithoutKassasInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutKassasInput | OrganizationUpdateWithoutKassasInput | OrganizationUncheckedUpdateWithoutKassasInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutKassasInput | CurrencyUncheckedCreateWithoutKassasInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutKassasInput | No |
| upsert | CurrencyUpsertWithoutKassasInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutKassasInput | CurrencyUpdateWithoutKassasInput | CurrencyUncheckedUpdateWithoutKassasInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutKassaInput | PaymentCreateWithoutKassaInput[] | PaymentUncheckedCreateWithoutKassaInput | PaymentUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutKassaInput | PaymentCreateOrConnectWithoutKassaInput[] | No |
| upsert | PaymentUpsertWithWhereUniqueWithoutKassaInput | PaymentUpsertWithWhereUniqueWithoutKassaInput[] | No |
| createMany | PaymentCreateManyKassaInputEnvelope | No |
| set | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| disconnect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| delete | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| update | PaymentUpdateWithWhereUniqueWithoutKassaInput | PaymentUpdateWithWhereUniqueWithoutKassaInput[] | No |
| updateMany | PaymentUpdateManyWithWhereWithoutKassaInput | PaymentUpdateManyWithWhereWithoutKassaInput[] | No |
| deleteMany | PaymentScalarWhereInput | PaymentScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutKassaInput | PurchaseCreateWithoutKassaInput[] | PurchaseUncheckedCreateWithoutKassaInput | PurchaseUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutKassaInput | PurchaseCreateOrConnectWithoutKassaInput[] | No |
| upsert | PurchaseUpsertWithWhereUniqueWithoutKassaInput | PurchaseUpsertWithWhereUniqueWithoutKassaInput[] | No |
| createMany | PurchaseCreateManyKassaInputEnvelope | No |
| set | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| disconnect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| delete | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| update | PurchaseUpdateWithWhereUniqueWithoutKassaInput | PurchaseUpdateWithWhereUniqueWithoutKassaInput[] | No |
| updateMany | PurchaseUpdateManyWithWhereWithoutKassaInput | PurchaseUpdateManyWithWhereWithoutKassaInput[] | No |
| deleteMany | PurchaseScalarWhereInput | PurchaseScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutKassaInput | SaleCreateWithoutKassaInput[] | SaleUncheckedCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutKassaInput | SaleCreateOrConnectWithoutKassaInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutKassaInput | SaleUpsertWithWhereUniqueWithoutKassaInput[] | No |
| createMany | SaleCreateManyKassaInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutKassaInput | SaleUpdateWithWhereUniqueWithoutKassaInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutKassaInput | SaleUpdateManyWithWhereWithoutKassaInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutKassaInput | PaymentCreateWithoutKassaInput[] | PaymentUncheckedCreateWithoutKassaInput | PaymentUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutKassaInput | PaymentCreateOrConnectWithoutKassaInput[] | No |
| upsert | PaymentUpsertWithWhereUniqueWithoutKassaInput | PaymentUpsertWithWhereUniqueWithoutKassaInput[] | No |
| createMany | PaymentCreateManyKassaInputEnvelope | No |
| set | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| disconnect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| delete | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| update | PaymentUpdateWithWhereUniqueWithoutKassaInput | PaymentUpdateWithWhereUniqueWithoutKassaInput[] | No |
| updateMany | PaymentUpdateManyWithWhereWithoutKassaInput | PaymentUpdateManyWithWhereWithoutKassaInput[] | No |
| deleteMany | PaymentScalarWhereInput | PaymentScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutKassaInput | PurchaseCreateWithoutKassaInput[] | PurchaseUncheckedCreateWithoutKassaInput | PurchaseUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutKassaInput | PurchaseCreateOrConnectWithoutKassaInput[] | No |
| upsert | PurchaseUpsertWithWhereUniqueWithoutKassaInput | PurchaseUpsertWithWhereUniqueWithoutKassaInput[] | No |
| createMany | PurchaseCreateManyKassaInputEnvelope | No |
| set | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| disconnect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| delete | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| connect | PurchaseWhereUniqueInput | PurchaseWhereUniqueInput[] | No |
| update | PurchaseUpdateWithWhereUniqueWithoutKassaInput | PurchaseUpdateWithWhereUniqueWithoutKassaInput[] | No |
| updateMany | PurchaseUpdateManyWithWhereWithoutKassaInput | PurchaseUpdateManyWithWhereWithoutKassaInput[] | No |
| deleteMany | PurchaseScalarWhereInput | PurchaseScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutKassaInput | SaleCreateWithoutKassaInput[] | SaleUncheckedCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput[] | No |
| connectOrCreate | SaleCreateOrConnectWithoutKassaInput | SaleCreateOrConnectWithoutKassaInput[] | No |
| upsert | SaleUpsertWithWhereUniqueWithoutKassaInput | SaleUpsertWithWhereUniqueWithoutKassaInput[] | No |
| createMany | SaleCreateManyKassaInputEnvelope | No |
| set | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| disconnect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| delete | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| connect | SaleWhereUniqueInput | SaleWhereUniqueInput[] | No |
| update | SaleUpdateWithWhereUniqueWithoutKassaInput | SaleUpdateWithWhereUniqueWithoutKassaInput[] | No |
| updateMany | SaleUpdateManyWithWhereWithoutKassaInput | SaleUpdateManyWithWhereWithoutKassaInput[] | No |
| deleteMany | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutKassa_transfersInput | OrganizationUncheckedCreateWithoutKassa_transfersInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutKassa_transfersInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutOutgoing_transfersInput | KassaUncheckedCreateWithoutOutgoing_transfersInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutOutgoing_transfersInput | No |
| connect | KassaWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutIncoming_transfersInput | KassaUncheckedCreateWithoutIncoming_transfersInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutIncoming_transfersInput | No |
| connect | KassaWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutFrom_transfersInput | CurrencyUncheckedCreateWithoutFrom_transfersInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutFrom_transfersInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutTo_transfersInput | CurrencyUncheckedCreateWithoutTo_transfersInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutTo_transfersInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutOutgoing_transfersInput | KassaUncheckedCreateWithoutOutgoing_transfersInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutOutgoing_transfersInput | No |
| upsert | KassaUpsertWithoutOutgoing_transfersInput | No |
| connect | KassaWhereUniqueInput | No |
| update | KassaUpdateToOneWithWhereWithoutOutgoing_transfersInput | KassaUpdateWithoutOutgoing_transfersInput | KassaUncheckedUpdateWithoutOutgoing_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutIncoming_transfersInput | KassaUncheckedCreateWithoutIncoming_transfersInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutIncoming_transfersInput | No |
| upsert | KassaUpsertWithoutIncoming_transfersInput | No |
| connect | KassaWhereUniqueInput | No |
| update | KassaUpdateToOneWithWhereWithoutIncoming_transfersInput | KassaUpdateWithoutIncoming_transfersInput | KassaUncheckedUpdateWithoutIncoming_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutFrom_transfersInput | CurrencyUncheckedCreateWithoutFrom_transfersInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutFrom_transfersInput | No |
| upsert | CurrencyUpsertWithoutFrom_transfersInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutFrom_transfersInput | CurrencyUpdateWithoutFrom_transfersInput | CurrencyUncheckedUpdateWithoutFrom_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutTo_transfersInput | CurrencyUncheckedCreateWithoutTo_transfersInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutTo_transfersInput | No |
| upsert | CurrencyUpsertWithoutTo_transfersInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutTo_transfersInput | CurrencyUpdateWithoutTo_transfersInput | CurrencyUncheckedUpdateWithoutTo_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutPaymentsInput | OrganizationUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutPaymentsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutPaymentsInput | UserUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | UserCreateOrConnectWithoutPaymentsInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutPaymentsInput | OrganizationCustomerUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutPaymentsInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutPaymentsInput | KassaUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutPaymentsInput | No |
| connect | KassaWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutPaymentsInput | CurrencyUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutPaymentsInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutPaymentsInput | PurchaseUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutPaymentsInput | No |
| connect | PurchaseWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutPaymentsInput | SaleUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | SaleCreateOrConnectWithoutPaymentsInput | No |
| connect | SaleWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | PaymentType | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutPaymentsInput | OrganizationUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutPaymentsInput | No |
| upsert | OrganizationUpsertWithoutPaymentsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutPaymentsInput | OrganizationUpdateWithoutPaymentsInput | OrganizationUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutPaymentsInput | UserUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | UserCreateOrConnectWithoutPaymentsInput | No |
| upsert | UserUpsertWithoutPaymentsInput | No |
| disconnect | Boolean | UserWhereInput | No |
| delete | Boolean | UserWhereInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutPaymentsInput | UserUpdateWithoutPaymentsInput | UserUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutPaymentsInput | OrganizationCustomerUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutPaymentsInput | No |
| upsert | OrganizationCustomerUpsertWithoutPaymentsInput | No |
| disconnect | Boolean | OrganizationCustomerWhereInput | No |
| delete | Boolean | OrganizationCustomerWhereInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| update | OrganizationCustomerUpdateToOneWithWhereWithoutPaymentsInput | OrganizationCustomerUpdateWithoutPaymentsInput | OrganizationCustomerUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutPaymentsInput | KassaUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutPaymentsInput | No |
| upsert | KassaUpsertWithoutPaymentsInput | No |
| connect | KassaWhereUniqueInput | No |
| update | KassaUpdateToOneWithWhereWithoutPaymentsInput | KassaUpdateWithoutPaymentsInput | KassaUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutPaymentsInput | CurrencyUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutPaymentsInput | No |
| upsert | CurrencyUpsertWithoutPaymentsInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutPaymentsInput | CurrencyUpdateWithoutPaymentsInput | CurrencyUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutPaymentsInput | PurchaseUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutPaymentsInput | No |
| upsert | PurchaseUpsertWithoutPaymentsInput | No |
| disconnect | Boolean | PurchaseWhereInput | No |
| delete | Boolean | PurchaseWhereInput | No |
| connect | PurchaseWhereUniqueInput | No |
| update | PurchaseUpdateToOneWithWhereWithoutPaymentsInput | PurchaseUpdateWithoutPaymentsInput | PurchaseUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutPaymentsInput | SaleUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | SaleCreateOrConnectWithoutPaymentsInput | No |
| upsert | SaleUpsertWithoutPaymentsInput | No |
| disconnect | Boolean | SaleWhereInput | No |
| delete | Boolean | SaleWhereInput | No |
| connect | SaleWhereUniqueInput | No |
| update | SaleUpdateToOneWithWhereWithoutPaymentsInput | SaleUpdateWithoutPaymentsInput | SaleUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutTransactionsInput | OrganizationUncheckedCreateWithoutTransactionsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutTransactionsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutTransactionsInput | OrganizationCustomerUncheckedCreateWithoutTransactionsInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutTransactionsInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutTransactionsInput | CurrencyUncheckedCreateWithoutTransactionsInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutTransactionsInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | RelatedType | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutTransactionsInput | OrganizationUncheckedCreateWithoutTransactionsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutTransactionsInput | No |
| upsert | OrganizationUpsertWithoutTransactionsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutTransactionsInput | OrganizationUpdateWithoutTransactionsInput | OrganizationUncheckedUpdateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutTransactionsInput | CurrencyUncheckedCreateWithoutTransactionsInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutTransactionsInput | No |
| upsert | CurrencyUpsertWithoutTransactionsInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutTransactionsInput | CurrencyUpdateWithoutTransactionsInput | CurrencyUncheckedUpdateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutSalesInput | OrganizationUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutSalesInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutSalesInput | OrganizationCustomerUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutSalesInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutSalesInput | UserUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | UserCreateOrConnectWithoutSalesInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutSalesInput | CurrencyUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutSalesInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutSalesInput | KassaUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutSalesInput | No |
| connect | KassaWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleItemCreateWithoutSaleInput | SaleItemCreateWithoutSaleInput[] | SaleItemUncheckedCreateWithoutSaleInput | SaleItemUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | SaleItemCreateOrConnectWithoutSaleInput | SaleItemCreateOrConnectWithoutSaleInput[] | No |
| createMany | SaleItemCreateManySaleInputEnvelope | No |
| connect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutSaleInput | PaymentCreateWithoutSaleInput[] | PaymentUncheckedCreateWithoutSaleInput | PaymentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutSaleInput | PaymentCreateOrConnectWithoutSaleInput[] | No |
| createMany | PaymentCreateManySaleInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | InstallmentCreateWithoutSaleInput | InstallmentCreateWithoutSaleInput[] | InstallmentUncheckedCreateWithoutSaleInput | InstallmentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | InstallmentCreateOrConnectWithoutSaleInput | InstallmentCreateOrConnectWithoutSaleInput[] | No |
| createMany | InstallmentCreateManySaleInputEnvelope | No |
| connect | InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutSaleInput | DocumentCreateWithoutSaleInput[] | DocumentUncheckedCreateWithoutSaleInput | DocumentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutSaleInput | DocumentCreateOrConnectWithoutSaleInput[] | No |
| createMany | DocumentCreateManySaleInputEnvelope | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleItemCreateWithoutSaleInput | SaleItemCreateWithoutSaleInput[] | SaleItemUncheckedCreateWithoutSaleInput | SaleItemUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | SaleItemCreateOrConnectWithoutSaleInput | SaleItemCreateOrConnectWithoutSaleInput[] | No |
| createMany | SaleItemCreateManySaleInputEnvelope | No |
| connect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutSaleInput | PaymentCreateWithoutSaleInput[] | PaymentUncheckedCreateWithoutSaleInput | PaymentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutSaleInput | PaymentCreateOrConnectWithoutSaleInput[] | No |
| createMany | PaymentCreateManySaleInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | InstallmentCreateWithoutSaleInput | InstallmentCreateWithoutSaleInput[] | InstallmentUncheckedCreateWithoutSaleInput | InstallmentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | InstallmentCreateOrConnectWithoutSaleInput | InstallmentCreateOrConnectWithoutSaleInput[] | No |
| createMany | InstallmentCreateManySaleInputEnvelope | No |
| connect | InstallmentWhereUniqueInput | InstallmentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutSaleInput | DocumentCreateWithoutSaleInput[] | DocumentUncheckedCreateWithoutSaleInput | DocumentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutSaleInput | DocumentCreateOrConnectWithoutSaleInput[] | No |
| createMany | DocumentCreateManySaleInputEnvelope | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| set | SaleStatus | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutSalesInput | OrganizationUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutSalesInput | No |
| upsert | OrganizationUpsertWithoutSalesInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutSalesInput | OrganizationUpdateWithoutSalesInput | OrganizationUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutSalesInput | OrganizationCustomerUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutSalesInput | No |
| upsert | OrganizationCustomerUpsertWithoutSalesInput | No |
| disconnect | Boolean | OrganizationCustomerWhereInput | No |
| delete | Boolean | OrganizationCustomerWhereInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| update | OrganizationCustomerUpdateToOneWithWhereWithoutSalesInput | OrganizationCustomerUpdateWithoutSalesInput | OrganizationCustomerUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutSalesInput | UserUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | UserCreateOrConnectWithoutSalesInput | No |
| upsert | UserUpsertWithoutSalesInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutSalesInput | UserUpdateWithoutSalesInput | UserUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutSalesInput | CurrencyUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutSalesInput | No |
| upsert | CurrencyUpsertWithoutSalesInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutSalesInput | CurrencyUpdateWithoutSalesInput | CurrencyUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutSalesInput | KassaUncheckedCreateWithoutSalesInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutSalesInput | No |
| upsert | KassaUpsertWithoutSalesInput | No |
| disconnect | Boolean | KassaWhereInput | No |
| delete | Boolean | KassaWhereInput | No |
| connect | KassaWhereUniqueInput | No |
| update | KassaUpdateToOneWithWhereWithoutSalesInput | KassaUpdateWithoutSalesInput | KassaUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleItemCreateWithoutSaleInput | SaleItemCreateWithoutSaleInput[] | SaleItemUncheckedCreateWithoutSaleInput | SaleItemUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | SaleItemCreateOrConnectWithoutSaleInput | SaleItemCreateOrConnectWithoutSaleInput[] | No |
| upsert | SaleItemUpsertWithWhereUniqueWithoutSaleInput | SaleItemUpsertWithWhereUniqueWithoutSaleInput[] | No |
| createMany | SaleItemCreateManySaleInputEnvelope | No |
| set | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| disconnect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| delete | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| connect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| update | SaleItemUpdateWithWhereUniqueWithoutSaleInput | SaleItemUpdateWithWhereUniqueWithoutSaleInput[] | No |
| updateMany | SaleItemUpdateManyWithWhereWithoutSaleInput | SaleItemUpdateManyWithWhereWithoutSaleInput[] | No |
| deleteMany | SaleItemScalarWhereInput | SaleItemScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutSaleInput | PaymentCreateWithoutSaleInput[] | PaymentUncheckedCreateWithoutSaleInput | PaymentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutSaleInput | PaymentCreateOrConnectWithoutSaleInput[] | No |
| upsert | PaymentUpsertWithWhereUniqueWithoutSaleInput | PaymentUpsertWithWhereUniqueWithoutSaleInput[] | No |
| createMany | PaymentCreateManySaleInputEnvelope | No |
| set | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| disconnect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| delete | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| update | PaymentUpdateWithWhereUniqueWithoutSaleInput | PaymentUpdateWithWhereUniqueWithoutSaleInput[] | No |
| updateMany | PaymentUpdateManyWithWhereWithoutSaleInput | PaymentUpdateManyWithWhereWithoutSaleInput[] | No |
| deleteMany | PaymentScalarWhereInput | PaymentScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutSaleInput | DocumentCreateWithoutSaleInput[] | DocumentUncheckedCreateWithoutSaleInput | DocumentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutSaleInput | DocumentCreateOrConnectWithoutSaleInput[] | No |
| upsert | DocumentUpsertWithWhereUniqueWithoutSaleInput | DocumentUpsertWithWhereUniqueWithoutSaleInput[] | No |
| createMany | DocumentCreateManySaleInputEnvelope | No |
| set | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| disconnect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| delete | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| update | DocumentUpdateWithWhereUniqueWithoutSaleInput | DocumentUpdateWithWhereUniqueWithoutSaleInput[] | No |
| updateMany | DocumentUpdateManyWithWhereWithoutSaleInput | DocumentUpdateManyWithWhereWithoutSaleInput[] | No |
| deleteMany | DocumentScalarWhereInput | DocumentScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleItemCreateWithoutSaleInput | SaleItemCreateWithoutSaleInput[] | SaleItemUncheckedCreateWithoutSaleInput | SaleItemUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | SaleItemCreateOrConnectWithoutSaleInput | SaleItemCreateOrConnectWithoutSaleInput[] | No |
| upsert | SaleItemUpsertWithWhereUniqueWithoutSaleInput | SaleItemUpsertWithWhereUniqueWithoutSaleInput[] | No |
| createMany | SaleItemCreateManySaleInputEnvelope | No |
| set | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| disconnect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| delete | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| connect | SaleItemWhereUniqueInput | SaleItemWhereUniqueInput[] | No |
| update | SaleItemUpdateWithWhereUniqueWithoutSaleInput | SaleItemUpdateWithWhereUniqueWithoutSaleInput[] | No |
| updateMany | SaleItemUpdateManyWithWhereWithoutSaleInput | SaleItemUpdateManyWithWhereWithoutSaleInput[] | No |
| deleteMany | SaleItemScalarWhereInput | SaleItemScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutSaleInput | PaymentCreateWithoutSaleInput[] | PaymentUncheckedCreateWithoutSaleInput | PaymentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutSaleInput | PaymentCreateOrConnectWithoutSaleInput[] | No |
| upsert | PaymentUpsertWithWhereUniqueWithoutSaleInput | PaymentUpsertWithWhereUniqueWithoutSaleInput[] | No |
| createMany | PaymentCreateManySaleInputEnvelope | No |
| set | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| disconnect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| delete | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| update | PaymentUpdateWithWhereUniqueWithoutSaleInput | PaymentUpdateWithWhereUniqueWithoutSaleInput[] | No |
| updateMany | PaymentUpdateManyWithWhereWithoutSaleInput | PaymentUpdateManyWithWhereWithoutSaleInput[] | No |
| deleteMany | PaymentScalarWhereInput | PaymentScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | DocumentCreateWithoutSaleInput | DocumentCreateWithoutSaleInput[] | DocumentUncheckedCreateWithoutSaleInput | DocumentUncheckedCreateWithoutSaleInput[] | No |
| connectOrCreate | DocumentCreateOrConnectWithoutSaleInput | DocumentCreateOrConnectWithoutSaleInput[] | No |
| upsert | DocumentUpsertWithWhereUniqueWithoutSaleInput | DocumentUpsertWithWhereUniqueWithoutSaleInput[] | No |
| createMany | DocumentCreateManySaleInputEnvelope | No |
| set | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| disconnect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| delete | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| connect | DocumentWhereUniqueInput | DocumentWhereUniqueInput[] | No |
| update | DocumentUpdateWithWhereUniqueWithoutSaleInput | DocumentUpdateWithWhereUniqueWithoutSaleInput[] | No |
| updateMany | DocumentUpdateManyWithWhereWithoutSaleInput | DocumentUpdateManyWithWhereWithoutSaleInput[] | No |
| deleteMany | DocumentScalarWhereInput | DocumentScalarWhereInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutItemsInput | SaleUncheckedCreateWithoutItemsInput | No |
| connectOrCreate | SaleCreateOrConnectWithoutItemsInput | No |
| connect | SaleWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutSele_itemsInput | ProductUncheckedCreateWithoutSele_itemsInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutSele_itemsInput | No |
| connect | ProductWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutSale_itemsInput | CurrencyUncheckedCreateWithoutSale_itemsInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutSale_itemsInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutItemsInput | SaleUncheckedCreateWithoutItemsInput | No |
| connectOrCreate | SaleCreateOrConnectWithoutItemsInput | No |
| upsert | SaleUpsertWithoutItemsInput | No |
| connect | SaleWhereUniqueInput | No |
| update | SaleUpdateToOneWithWhereWithoutItemsInput | SaleUpdateWithoutItemsInput | SaleUncheckedUpdateWithoutItemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutSele_itemsInput | ProductUncheckedCreateWithoutSele_itemsInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutSele_itemsInput | No |
| upsert | ProductUpsertWithoutSele_itemsInput | No |
| connect | ProductWhereUniqueInput | No |
| update | ProductUpdateToOneWithWhereWithoutSele_itemsInput | ProductUpdateWithoutSele_itemsInput | ProductUncheckedUpdateWithoutSele_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutSale_itemsInput | CurrencyUncheckedCreateWithoutSale_itemsInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutSale_itemsInput | No |
| upsert | CurrencyUpsertWithoutSale_itemsInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutSale_itemsInput | CurrencyUpdateWithoutSale_itemsInput | CurrencyUncheckedUpdateWithoutSale_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutPurchasesInput | OrganizationUncheckedCreateWithoutPurchasesInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutPurchasesInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutPurchasesInput | OrganizationCustomerUncheckedCreateWithoutPurchasesInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutPurchasesInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutPurchasesInput | UserUncheckedCreateWithoutPurchasesInput | No |
| connectOrCreate | UserCreateOrConnectWithoutPurchasesInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutPurchasesInput | CurrencyUncheckedCreateWithoutPurchasesInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutPurchasesInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutPurchasesInput | KassaUncheckedCreateWithoutPurchasesInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutPurchasesInput | No |
| connect | KassaWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutPurchaseInput | PaymentCreateWithoutPurchaseInput[] | PaymentUncheckedCreateWithoutPurchaseInput | PaymentUncheckedCreateWithoutPurchaseInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutPurchaseInput | PaymentCreateOrConnectWithoutPurchaseInput[] | No |
| createMany | PaymentCreateManyPurchaseInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutPurchaseInput | PaymentCreateWithoutPurchaseInput[] | PaymentUncheckedCreateWithoutPurchaseInput | PaymentUncheckedCreateWithoutPurchaseInput[] | No |
| connectOrCreate | PaymentCreateOrConnectWithoutPurchaseInput | PaymentCreateOrConnectWithoutPurchaseInput[] | No |
| createMany | PaymentCreateManyPurchaseInputEnvelope | No |
| connect | PaymentWhereUniqueInput | PaymentWhereUniqueInput[] | No |
| Name | Type | Nullable |
|---|---|---|
| set | PurchaseStatus | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutPurchasesInput | OrganizationUncheckedCreateWithoutPurchasesInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutPurchasesInput | No |
| upsert | OrganizationUpsertWithoutPurchasesInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutPurchasesInput | OrganizationUpdateWithoutPurchasesInput | OrganizationUncheckedUpdateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutPurchasesInput | UserUncheckedCreateWithoutPurchasesInput | No |
| connectOrCreate | UserCreateOrConnectWithoutPurchasesInput | No |
| upsert | UserUpsertWithoutPurchasesInput | No |
| disconnect | Boolean | UserWhereInput | No |
| delete | Boolean | UserWhereInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutPurchasesInput | UserUpdateWithoutPurchasesInput | UserUncheckedUpdateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutPurchasesInput | CurrencyUncheckedCreateWithoutPurchasesInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutPurchasesInput | No |
| upsert | CurrencyUpsertWithoutPurchasesInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutPurchasesInput | CurrencyUpdateWithoutPurchasesInput | CurrencyUncheckedUpdateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | KassaCreateWithoutPurchasesInput | KassaUncheckedCreateWithoutPurchasesInput | No |
| connectOrCreate | KassaCreateOrConnectWithoutPurchasesInput | No |
| upsert | KassaUpsertWithoutPurchasesInput | No |
| disconnect | Boolean | KassaWhereInput | No |
| delete | Boolean | KassaWhereInput | No |
| connect | KassaWhereUniqueInput | No |
| update | KassaUpdateToOneWithWhereWithoutPurchasesInput | KassaUpdateWithoutPurchasesInput | KassaUncheckedUpdateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutItemsInput | PurchaseUncheckedCreateWithoutItemsInput | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutItemsInput | No |
| connect | PurchaseWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutPurchase_itemsInput | ProductUncheckedCreateWithoutPurchase_itemsInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutPurchase_itemsInput | No |
| connect | ProductWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PurchaseCreateWithoutItemsInput | PurchaseUncheckedCreateWithoutItemsInput | No |
| connectOrCreate | PurchaseCreateOrConnectWithoutItemsInput | No |
| upsert | PurchaseUpsertWithoutItemsInput | No |
| connect | PurchaseWhereUniqueInput | No |
| update | PurchaseUpdateToOneWithWhereWithoutItemsInput | PurchaseUpdateWithoutItemsInput | PurchaseUncheckedUpdateWithoutItemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | ProductCreateWithoutPurchase_itemsInput | ProductUncheckedCreateWithoutPurchase_itemsInput | No |
| connectOrCreate | ProductCreateOrConnectWithoutPurchase_itemsInput | No |
| upsert | ProductUpsertWithoutPurchase_itemsInput | No |
| connect | ProductWhereUniqueInput | No |
| update | ProductUpdateToOneWithWhereWithoutPurchase_itemsInput | ProductUpdateWithoutPurchase_itemsInput | ProductUncheckedUpdateWithoutPurchase_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutInstallmentsInput | SaleUncheckedCreateWithoutInstallmentsInput | No |
| connectOrCreate | SaleCreateOrConnectWithoutInstallmentsInput | No |
| connect | SaleWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutInstallmentsInput | OrganizationCustomerUncheckedCreateWithoutInstallmentsInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutInstallmentsInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | InstallmentStatus | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutInstallmentsInput | SaleUncheckedCreateWithoutInstallmentsInput | No |
| connectOrCreate | SaleCreateOrConnectWithoutInstallmentsInput | No |
| upsert | SaleUpsertWithoutInstallmentsInput | No |
| connect | SaleWhereUniqueInput | No |
| update | SaleUpdateToOneWithWhereWithoutInstallmentsInput | SaleUpdateWithoutInstallmentsInput | SaleUncheckedUpdateWithoutInstallmentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | InstallmentCreateWithoutPaymentsInput | InstallmentUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | InstallmentCreateOrConnectWithoutPaymentsInput | No |
| connect | InstallmentWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutInstallment_paymentsInput | UserUncheckedCreateWithoutInstallment_paymentsInput | No |
| connectOrCreate | UserCreateOrConnectWithoutInstallment_paymentsInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutInstallment_paymentsInput | PaymentUncheckedCreateWithoutInstallment_paymentsInput | No |
| connectOrCreate | PaymentCreateOrConnectWithoutInstallment_paymentsInput | No |
| connect | PaymentWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | InstallmentCreateWithoutPaymentsInput | InstallmentUncheckedCreateWithoutPaymentsInput | No |
| connectOrCreate | InstallmentCreateOrConnectWithoutPaymentsInput | No |
| upsert | InstallmentUpsertWithoutPaymentsInput | No |
| connect | InstallmentWhereUniqueInput | No |
| update | InstallmentUpdateToOneWithWhereWithoutPaymentsInput | InstallmentUpdateWithoutPaymentsInput | InstallmentUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutInstallment_paymentsInput | UserUncheckedCreateWithoutInstallment_paymentsInput | No |
| connectOrCreate | UserCreateOrConnectWithoutInstallment_paymentsInput | No |
| upsert | UserUpsertWithoutInstallment_paymentsInput | No |
| disconnect | Boolean | UserWhereInput | No |
| delete | Boolean | UserWhereInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutInstallment_paymentsInput | UserUpdateWithoutInstallment_paymentsInput | UserUncheckedUpdateWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | PaymentCreateWithoutInstallment_paymentsInput | PaymentUncheckedCreateWithoutInstallment_paymentsInput | No |
| connectOrCreate | PaymentCreateOrConnectWithoutInstallment_paymentsInput | No |
| upsert | PaymentUpsertWithoutInstallment_paymentsInput | No |
| disconnect | Boolean | PaymentWhereInput | No |
| delete | Boolean | PaymentWhereInput | No |
| connect | PaymentWhereUniqueInput | No |
| update | PaymentUpdateToOneWithWhereWithoutInstallment_paymentsInput | PaymentUpdateWithoutInstallment_paymentsInput | PaymentUncheckedUpdateWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutDocumentsInput | UserUncheckedCreateWithoutDocumentsInput | No |
| connectOrCreate | UserCreateOrConnectWithoutDocumentsInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutDocumentsInput | OrganizationUncheckedCreateWithoutDocumentsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutDocumentsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutDocumentsInput | OrganizationCustomerUncheckedCreateWithoutDocumentsInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutDocumentsInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutDocumentsInput | SaleUncheckedCreateWithoutDocumentsInput | No |
| connectOrCreate | SaleCreateOrConnectWithoutDocumentsInput | No |
| connect | SaleWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | DocumentType | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutDocumentsInput | UserUncheckedCreateWithoutDocumentsInput | No |
| connectOrCreate | UserCreateOrConnectWithoutDocumentsInput | No |
| upsert | UserUpsertWithoutDocumentsInput | No |
| disconnect | Boolean | UserWhereInput | No |
| delete | Boolean | UserWhereInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutDocumentsInput | UserUpdateWithoutDocumentsInput | UserUncheckedUpdateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutDocumentsInput | OrganizationUncheckedCreateWithoutDocumentsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutDocumentsInput | No |
| upsert | OrganizationUpsertWithoutDocumentsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutDocumentsInput | OrganizationUpdateWithoutDocumentsInput | OrganizationUncheckedUpdateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCustomerCreateWithoutDocumentsInput | OrganizationCustomerUncheckedCreateWithoutDocumentsInput | No |
| connectOrCreate | OrganizationCustomerCreateOrConnectWithoutDocumentsInput | No |
| upsert | OrganizationCustomerUpsertWithoutDocumentsInput | No |
| disconnect | Boolean | OrganizationCustomerWhereInput | No |
| delete | Boolean | OrganizationCustomerWhereInput | No |
| connect | OrganizationCustomerWhereUniqueInput | No |
| update | OrganizationCustomerUpdateToOneWithWhereWithoutDocumentsInput | OrganizationCustomerUpdateWithoutDocumentsInput | OrganizationCustomerUncheckedUpdateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | SaleCreateWithoutDocumentsInput | SaleUncheckedCreateWithoutDocumentsInput | No |
| connectOrCreate | SaleCreateOrConnectWithoutDocumentsInput | No |
| upsert | SaleUpsertWithoutDocumentsInput | No |
| disconnect | Boolean | SaleWhereInput | No |
| delete | Boolean | SaleWhereInput | No |
| connect | SaleWhereUniqueInput | No |
| update | SaleUpdateToOneWithWhereWithoutDocumentsInput | SaleUpdateWithoutDocumentsInput | SaleUncheckedUpdateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutSettingsInput | OrganizationUncheckedCreateWithoutSettingsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutSettingsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutSettingsInput | CurrencyUncheckedCreateWithoutSettingsInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutSettingsInput | No |
| connect | CurrencyWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| set | Decimal | Null | Yes |
| increment | Decimal | No |
| decrement | Decimal | No |
| multiply | Decimal | No |
| divide | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| set | ThemeType | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutSettingsInput | OrganizationUncheckedCreateWithoutSettingsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutSettingsInput | No |
| upsert | OrganizationUpsertWithoutSettingsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutSettingsInput | OrganizationUpdateWithoutSettingsInput | OrganizationUncheckedUpdateWithoutSettingsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | CurrencyCreateWithoutSettingsInput | CurrencyUncheckedCreateWithoutSettingsInput | No |
| connectOrCreate | CurrencyCreateOrConnectWithoutSettingsInput | No |
| upsert | CurrencyUpsertWithoutSettingsInput | No |
| connect | CurrencyWhereUniqueInput | No |
| update | CurrencyUpdateToOneWithWhereWithoutSettingsInput | CurrencyUpdateWithoutSettingsInput | CurrencyUncheckedUpdateWithoutSettingsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutAudit_logsInput | OrganizationUncheckedCreateWithoutAudit_logsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutAudit_logsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutAudit_logsInput | UserUncheckedCreateWithoutAudit_logsInput | No |
| connectOrCreate | UserCreateOrConnectWithoutAudit_logsInput | No |
| connect | UserWhereUniqueInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | OrganizationCreateWithoutAudit_logsInput | OrganizationUncheckedCreateWithoutAudit_logsInput | No |
| connectOrCreate | OrganizationCreateOrConnectWithoutAudit_logsInput | No |
| upsert | OrganizationUpsertWithoutAudit_logsInput | No |
| connect | OrganizationWhereUniqueInput | No |
| update | OrganizationUpdateToOneWithWhereWithoutAudit_logsInput | OrganizationUpdateWithoutAudit_logsInput | OrganizationUncheckedUpdateWithoutAudit_logsInput | No |
| Name | Type | Nullable |
|---|---|---|
| create | UserCreateWithoutAudit_logsInput | UserUncheckedCreateWithoutAudit_logsInput | No |
| connectOrCreate | UserCreateOrConnectWithoutAudit_logsInput | No |
| upsert | UserUpsertWithoutAudit_logsInput | No |
| disconnect | Boolean | UserWhereInput | No |
| delete | Boolean | UserWhereInput | No |
| connect | UserWhereUniqueInput | No |
| update | UserUpdateToOneWithWhereWithoutAudit_logsInput | UserUpdateWithoutAudit_logsInput | UserUncheckedUpdateWithoutAudit_logsInput | No |
| Name | Type | Nullable |
|---|---|---|
| equals | String | StringFieldRefInput | No |
| in | String | ListStringFieldRefInput | No |
| notIn | String | ListStringFieldRefInput | No |
| lt | String | StringFieldRefInput | No |
| lte | String | StringFieldRefInput | No |
| gt | String | StringFieldRefInput | No |
| gte | String | StringFieldRefInput | No |
| contains | String | StringFieldRefInput | No |
| startsWith | String | StringFieldRefInput | No |
| endsWith | String | StringFieldRefInput | No |
| not | String | NestedStringFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DateTime | DateTimeFieldRefInput | No |
| in | DateTime | ListDateTimeFieldRefInput | No |
| notIn | DateTime | ListDateTimeFieldRefInput | No |
| lt | DateTime | DateTimeFieldRefInput | No |
| lte | DateTime | DateTimeFieldRefInput | No |
| gt | DateTime | DateTimeFieldRefInput | No |
| gte | DateTime | DateTimeFieldRefInput | No |
| not | DateTime | NestedDateTimeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | String | StringFieldRefInput | No |
| in | String | ListStringFieldRefInput | No |
| notIn | String | ListStringFieldRefInput | No |
| lt | String | StringFieldRefInput | No |
| lte | String | StringFieldRefInput | No |
| gt | String | StringFieldRefInput | No |
| gte | String | StringFieldRefInput | No |
| contains | String | StringFieldRefInput | No |
| startsWith | String | StringFieldRefInput | No |
| endsWith | String | StringFieldRefInput | No |
| not | String | NestedStringWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedStringFilter | No |
| _max | NestedStringFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Int | IntFieldRefInput | No |
| in | Int | ListIntFieldRefInput | No |
| notIn | Int | ListIntFieldRefInput | No |
| lt | Int | IntFieldRefInput | No |
| lte | Int | IntFieldRefInput | No |
| gt | Int | IntFieldRefInput | No |
| gte | Int | IntFieldRefInput | No |
| not | Int | NestedIntFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DateTime | DateTimeFieldRefInput | No |
| in | DateTime | ListDateTimeFieldRefInput | No |
| notIn | DateTime | ListDateTimeFieldRefInput | No |
| lt | DateTime | DateTimeFieldRefInput | No |
| lte | DateTime | DateTimeFieldRefInput | No |
| gt | DateTime | DateTimeFieldRefInput | No |
| gte | DateTime | DateTimeFieldRefInput | No |
| not | DateTime | NestedDateTimeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedDateTimeFilter | No |
| _max | NestedDateTimeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Decimal | DecimalFieldRefInput | No |
| in | Decimal[] | ListDecimalFieldRefInput | No |
| notIn | Decimal[] | ListDecimalFieldRefInput | No |
| lt | Decimal | DecimalFieldRefInput | No |
| lte | Decimal | DecimalFieldRefInput | No |
| gt | Decimal | DecimalFieldRefInput | No |
| gte | Decimal | DecimalFieldRefInput | No |
| not | Decimal | NestedDecimalFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Decimal | DecimalFieldRefInput | No |
| in | Decimal[] | ListDecimalFieldRefInput | No |
| notIn | Decimal[] | ListDecimalFieldRefInput | No |
| lt | Decimal | DecimalFieldRefInput | No |
| lte | Decimal | DecimalFieldRefInput | No |
| gt | Decimal | DecimalFieldRefInput | No |
| gte | Decimal | DecimalFieldRefInput | No |
| not | Decimal | NestedDecimalWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _avg | NestedDecimalFilter | No |
| _sum | NestedDecimalFilter | No |
| _min | NestedDecimalFilter | No |
| _max | NestedDecimalFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | String | StringFieldRefInput | Null | Yes |
| in | String | ListStringFieldRefInput | Null | Yes |
| notIn | String | ListStringFieldRefInput | Null | Yes |
| lt | String | StringFieldRefInput | No |
| lte | String | StringFieldRefInput | No |
| gt | String | StringFieldRefInput | No |
| gte | String | StringFieldRefInput | No |
| contains | String | StringFieldRefInput | No |
| startsWith | String | StringFieldRefInput | No |
| endsWith | String | StringFieldRefInput | No |
| not | String | NestedStringNullableFilter | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| equals | String | StringFieldRefInput | Null | Yes |
| in | String | ListStringFieldRefInput | Null | Yes |
| notIn | String | ListStringFieldRefInput | Null | Yes |
| lt | String | StringFieldRefInput | No |
| lte | String | StringFieldRefInput | No |
| gt | String | StringFieldRefInput | No |
| gte | String | StringFieldRefInput | No |
| contains | String | StringFieldRefInput | No |
| startsWith | String | StringFieldRefInput | No |
| endsWith | String | StringFieldRefInput | No |
| not | String | NestedStringNullableWithAggregatesFilter | Null | Yes |
| _count | NestedIntNullableFilter | No |
| _min | NestedStringNullableFilter | No |
| _max | NestedStringNullableFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Int | IntFieldRefInput | Null | Yes |
| in | Int | ListIntFieldRefInput | Null | Yes |
| notIn | Int | ListIntFieldRefInput | Null | Yes |
| lt | Int | IntFieldRefInput | No |
| lte | Int | IntFieldRefInput | No |
| gt | Int | IntFieldRefInput | No |
| gte | Int | IntFieldRefInput | No |
| not | Int | NestedIntNullableFilter | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| equals | Boolean | BooleanFieldRefInput | No |
| not | Boolean | NestedBoolFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Boolean | BooleanFieldRefInput | No |
| not | Boolean | NestedBoolWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedBoolFilter | No |
| _max | NestedBoolFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DateTime | DateTimeFieldRefInput | Null | Yes |
| in | DateTime | ListDateTimeFieldRefInput | Null | Yes |
| notIn | DateTime | ListDateTimeFieldRefInput | Null | Yes |
| lt | DateTime | DateTimeFieldRefInput | No |
| lte | DateTime | DateTimeFieldRefInput | No |
| gt | DateTime | DateTimeFieldRefInput | No |
| gte | DateTime | DateTimeFieldRefInput | No |
| not | DateTime | NestedDateTimeNullableFilter | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| equals | Gender | EnumGenderFieldRefInput | No |
| in | Gender[] | ListEnumGenderFieldRefInput | No |
| notIn | Gender[] | ListEnumGenderFieldRefInput | No |
| not | Gender | NestedEnumGenderFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DateTime | DateTimeFieldRefInput | Null | Yes |
| in | DateTime | ListDateTimeFieldRefInput | Null | Yes |
| notIn | DateTime | ListDateTimeFieldRefInput | Null | Yes |
| lt | DateTime | DateTimeFieldRefInput | No |
| lte | DateTime | DateTimeFieldRefInput | No |
| gt | DateTime | DateTimeFieldRefInput | No |
| gte | DateTime | DateTimeFieldRefInput | No |
| not | DateTime | NestedDateTimeNullableWithAggregatesFilter | Null | Yes |
| _count | NestedIntNullableFilter | No |
| _min | NestedDateTimeNullableFilter | No |
| _max | NestedDateTimeNullableFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Gender | EnumGenderFieldRefInput | No |
| in | Gender[] | ListEnumGenderFieldRefInput | No |
| notIn | Gender[] | ListEnumGenderFieldRefInput | No |
| not | Gender | NestedEnumGenderWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumGenderFilter | No |
| _max | NestedEnumGenderFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | OrgUserRole | EnumOrgUserRoleFieldRefInput | No |
| in | OrgUserRole[] | ListEnumOrgUserRoleFieldRefInput | No |
| notIn | OrgUserRole[] | ListEnumOrgUserRoleFieldRefInput | No |
| not | OrgUserRole | NestedEnumOrgUserRoleFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | OrgUserRole | EnumOrgUserRoleFieldRefInput | No |
| in | OrgUserRole[] | ListEnumOrgUserRoleFieldRefInput | No |
| notIn | OrgUserRole[] | ListEnumOrgUserRoleFieldRefInput | No |
| not | OrgUserRole | NestedEnumOrgUserRoleWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumOrgUserRoleFilter | No |
| _max | NestedEnumOrgUserRoleFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | CustomerType | EnumCustomerTypeFieldRefInput | No |
| in | CustomerType[] | ListEnumCustomerTypeFieldRefInput | No |
| notIn | CustomerType[] | ListEnumCustomerTypeFieldRefInput | No |
| not | CustomerType | NestedEnumCustomerTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | CustomerType | EnumCustomerTypeFieldRefInput | No |
| in | CustomerType[] | ListEnumCustomerTypeFieldRefInput | No |
| notIn | CustomerType[] | ListEnumCustomerTypeFieldRefInput | No |
| not | CustomerType | NestedEnumCustomerTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumCustomerTypeFilter | No |
| _max | NestedEnumCustomerTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PriceType | EnumPriceTypeFieldRefInput | No |
| in | PriceType[] | ListEnumPriceTypeFieldRefInput | No |
| notIn | PriceType[] | ListEnumPriceTypeFieldRefInput | No |
| not | PriceType | NestedEnumPriceTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | CustomerType | EnumCustomerTypeFieldRefInput | Null | Yes |
| in | CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null | Yes |
| notIn | CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null | Yes |
| not | CustomerType | NestedEnumCustomerTypeNullableFilter | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| equals | PriceType | EnumPriceTypeFieldRefInput | No |
| in | PriceType[] | ListEnumPriceTypeFieldRefInput | No |
| notIn | PriceType[] | ListEnumPriceTypeFieldRefInput | No |
| not | PriceType | NestedEnumPriceTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumPriceTypeFilter | No |
| _max | NestedEnumPriceTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | CustomerType | EnumCustomerTypeFieldRefInput | Null | Yes |
| in | CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null | Yes |
| notIn | CustomerType[] | ListEnumCustomerTypeFieldRefInput | Null | Yes |
| not | CustomerType | NestedEnumCustomerTypeNullableWithAggregatesFilter | Null | Yes |
| _count | NestedIntNullableFilter | No |
| _min | NestedEnumCustomerTypeNullableFilter | No |
| _max | NestedEnumCustomerTypeNullableFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ProductStatus | EnumProductStatusFieldRefInput | No |
| in | ProductStatus[] | ListEnumProductStatusFieldRefInput | No |
| notIn | ProductStatus[] | ListEnumProductStatusFieldRefInput | No |
| not | ProductStatus | NestedEnumProductStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ProductStatus | EnumProductStatusFieldRefInput | No |
| in | ProductStatus[] | ListEnumProductStatusFieldRefInput | No |
| notIn | ProductStatus[] | ListEnumProductStatusFieldRefInput | No |
| not | ProductStatus | NestedEnumProductStatusWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumProductStatusFilter | No |
| _max | NestedEnumProductStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ProductAction | EnumProductActionFieldRefInput | No |
| in | ProductAction[] | ListEnumProductActionFieldRefInput | No |
| notIn | ProductAction[] | ListEnumProductActionFieldRefInput | No |
| not | ProductAction | NestedEnumProductActionFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ProductAction | EnumProductActionFieldRefInput | No |
| in | ProductAction[] | ListEnumProductActionFieldRefInput | No |
| notIn | ProductAction[] | ListEnumProductActionFieldRefInput | No |
| not | ProductAction | NestedEnumProductActionWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumProductActionFilter | No |
| _max | NestedEnumProductActionFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Int | IntFieldRefInput | No |
| in | Int | ListIntFieldRefInput | No |
| notIn | Int | ListIntFieldRefInput | No |
| lt | Int | IntFieldRefInput | No |
| lte | Int | IntFieldRefInput | No |
| gt | Int | IntFieldRefInput | No |
| gte | Int | IntFieldRefInput | No |
| not | Int | NestedIntWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _avg | NestedFloatFilter | No |
| _sum | NestedIntFilter | No |
| _min | NestedIntFilter | No |
| _max | NestedIntFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Float | FloatFieldRefInput | No |
| in | Float | ListFloatFieldRefInput | No |
| notIn | Float | ListFloatFieldRefInput | No |
| lt | Float | FloatFieldRefInput | No |
| lte | Float | FloatFieldRefInput | No |
| gt | Float | FloatFieldRefInput | No |
| gte | Float | FloatFieldRefInput | No |
| not | Float | NestedFloatFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PaymentType | EnumPaymentTypeFieldRefInput | No |
| in | PaymentType[] | ListEnumPaymentTypeFieldRefInput | No |
| notIn | PaymentType[] | ListEnumPaymentTypeFieldRefInput | No |
| not | PaymentType | NestedEnumPaymentTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PaymentType | EnumPaymentTypeFieldRefInput | No |
| in | PaymentType[] | ListEnumPaymentTypeFieldRefInput | No |
| notIn | PaymentType[] | ListEnumPaymentTypeFieldRefInput | No |
| not | PaymentType | NestedEnumPaymentTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumPaymentTypeFilter | No |
| _max | NestedEnumPaymentTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | RelatedType | EnumRelatedTypeFieldRefInput | No |
| in | RelatedType[] | ListEnumRelatedTypeFieldRefInput | No |
| notIn | RelatedType[] | ListEnumRelatedTypeFieldRefInput | No |
| not | RelatedType | NestedEnumRelatedTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | RelatedType | EnumRelatedTypeFieldRefInput | No |
| in | RelatedType[] | ListEnumRelatedTypeFieldRefInput | No |
| notIn | RelatedType[] | ListEnumRelatedTypeFieldRefInput | No |
| not | RelatedType | NestedEnumRelatedTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumRelatedTypeFilter | No |
| _max | NestedEnumRelatedTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | SaleStatus | EnumSaleStatusFieldRefInput | No |
| in | SaleStatus[] | ListEnumSaleStatusFieldRefInput | No |
| notIn | SaleStatus[] | ListEnumSaleStatusFieldRefInput | No |
| not | SaleStatus | NestedEnumSaleStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | SaleStatus | EnumSaleStatusFieldRefInput | No |
| in | SaleStatus[] | ListEnumSaleStatusFieldRefInput | No |
| notIn | SaleStatus[] | ListEnumSaleStatusFieldRefInput | No |
| not | SaleStatus | NestedEnumSaleStatusWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumSaleStatusFilter | No |
| _max | NestedEnumSaleStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PurchaseStatus | EnumPurchaseStatusFieldRefInput | No |
| in | PurchaseStatus[] | ListEnumPurchaseStatusFieldRefInput | No |
| notIn | PurchaseStatus[] | ListEnumPurchaseStatusFieldRefInput | No |
| not | PurchaseStatus | NestedEnumPurchaseStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | PurchaseStatus | EnumPurchaseStatusFieldRefInput | No |
| in | PurchaseStatus[] | ListEnumPurchaseStatusFieldRefInput | No |
| notIn | PurchaseStatus[] | ListEnumPurchaseStatusFieldRefInput | No |
| not | PurchaseStatus | NestedEnumPurchaseStatusWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumPurchaseStatusFilter | No |
| _max | NestedEnumPurchaseStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | InstallmentStatus | EnumInstallmentStatusFieldRefInput | No |
| in | InstallmentStatus[] | ListEnumInstallmentStatusFieldRefInput | No |
| notIn | InstallmentStatus[] | ListEnumInstallmentStatusFieldRefInput | No |
| not | InstallmentStatus | NestedEnumInstallmentStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | InstallmentStatus | EnumInstallmentStatusFieldRefInput | No |
| in | InstallmentStatus[] | ListEnumInstallmentStatusFieldRefInput | No |
| notIn | InstallmentStatus[] | ListEnumInstallmentStatusFieldRefInput | No |
| not | InstallmentStatus | NestedEnumInstallmentStatusWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumInstallmentStatusFilter | No |
| _max | NestedEnumInstallmentStatusFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DocumentType | EnumDocumentTypeFieldRefInput | No |
| in | DocumentType[] | ListEnumDocumentTypeFieldRefInput | No |
| notIn | DocumentType[] | ListEnumDocumentTypeFieldRefInput | No |
| not | DocumentType | NestedEnumDocumentTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | DocumentType | EnumDocumentTypeFieldRefInput | No |
| in | DocumentType[] | ListEnumDocumentTypeFieldRefInput | No |
| notIn | DocumentType[] | ListEnumDocumentTypeFieldRefInput | No |
| not | DocumentType | NestedEnumDocumentTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumDocumentTypeFilter | No |
| _max | NestedEnumDocumentTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Decimal | DecimalFieldRefInput | Null | Yes |
| in | Decimal[] | ListDecimalFieldRefInput | Null | Yes |
| notIn | Decimal[] | ListDecimalFieldRefInput | Null | Yes |
| lt | Decimal | DecimalFieldRefInput | No |
| lte | Decimal | DecimalFieldRefInput | No |
| gt | Decimal | DecimalFieldRefInput | No |
| gte | Decimal | DecimalFieldRefInput | No |
| not | Decimal | NestedDecimalNullableFilter | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| equals | ThemeType | EnumThemeTypeFieldRefInput | No |
| in | ThemeType[] | ListEnumThemeTypeFieldRefInput | No |
| notIn | ThemeType[] | ListEnumThemeTypeFieldRefInput | No |
| not | ThemeType | NestedEnumThemeTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Decimal | DecimalFieldRefInput | Null | Yes |
| in | Decimal[] | ListDecimalFieldRefInput | Null | Yes |
| notIn | Decimal[] | ListDecimalFieldRefInput | Null | Yes |
| lt | Decimal | DecimalFieldRefInput | No |
| lte | Decimal | DecimalFieldRefInput | No |
| gt | Decimal | DecimalFieldRefInput | No |
| gte | Decimal | DecimalFieldRefInput | No |
| not | Decimal | NestedDecimalNullableWithAggregatesFilter | Null | Yes |
| _count | NestedIntNullableFilter | No |
| _avg | NestedDecimalNullableFilter | No |
| _sum | NestedDecimalNullableFilter | No |
| _min | NestedDecimalNullableFilter | No |
| _max | NestedDecimalNullableFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | ThemeType | EnumThemeTypeFieldRefInput | No |
| in | ThemeType[] | ListEnumThemeTypeFieldRefInput | No |
| notIn | ThemeType[] | ListEnumThemeTypeFieldRefInput | No |
| not | ThemeType | NestedEnumThemeTypeWithAggregatesFilter | No |
| _count | NestedIntFilter | No |
| _min | NestedEnumThemeTypeFilter | No |
| _max | NestedEnumThemeTypeFilter | No |
| Name | Type | Nullable |
|---|---|---|
| equals | Json | JsonFieldRefInput | JsonNullValueFilter | No |
| path | String | No |
| mode | QueryMode | EnumQueryModeFieldRefInput | No |
| string_contains | String | StringFieldRefInput | No |
| string_starts_with | String | StringFieldRefInput | No |
| string_ends_with | String | StringFieldRefInput | No |
| array_starts_with | Json | JsonFieldRefInput | Null | Yes |
| array_ends_with | Json | JsonFieldRefInput | Null | Yes |
| array_contains | Json | JsonFieldRefInput | Null | Yes |
| lt | Json | JsonFieldRefInput | No |
| lte | Json | JsonFieldRefInput | No |
| gt | Json | JsonFieldRefInput | No |
| gte | Json | JsonFieldRefInput | No |
| not | Json | JsonFieldRefInput | JsonNullValueFilter | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| priceType | PriceType | No |
| amount | Decimal | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product | ProductCreateNestedOneWithoutPricesInput | No |
| organization | OrganizationCreateNestedOneWithoutProduct_pricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| organizationId | String | Null | Yes |
| priceType | PriceType | No |
| amount | Decimal | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceWhereUniqueInput | No |
| create | ProductPriceCreateWithoutCurrencyInput | ProductPriceUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductPriceCreateManyCurrencyInput | ProductPriceCreateManyCurrencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassasInput | No |
| payments | PaymentCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseCreateNestedManyWithoutKassaInput | No |
| sales | SaleCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutKassaInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| create | KassaCreateWithoutCurrencyInput | KassaUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | KassaCreateManyCurrencyInput | KassaCreateManyCurrencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPaymentsInput | No |
| user | UserCreateNestedOneWithoutPaymentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutPaymentsInput | No |
| kassa | KassaCreateNestedOneWithoutPaymentsInput | No |
| purchase | PurchaseCreateNestedOneWithoutPaymentsInput | No |
| sale | SaleCreateNestedOneWithoutPaymentsInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| create | PaymentCreateWithoutCurrencyInput | PaymentUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PaymentCreateManyCurrencyInput | PaymentCreateManyCurrencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| description | String | Null | Yes |
| organization | OrganizationCreateNestedOneWithoutTransactionsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionWhereUniqueInput | No |
| create | TransactionCreateWithoutCurrencyInput | TransactionUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | TransactionCreateManyCurrencyInput | TransactionCreateManyCurrencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSalesInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutSalesInput | No |
| responsible | UserCreateNestedOneWithoutSalesInput | No |
| kassa | KassaCreateNestedOneWithoutSalesInput | No |
| items | SaleItemCreateNestedManyWithoutSaleInput | No |
| payments | PaymentCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentCreateNestedManyWithoutSaleInput | No |
| documents | DocumentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | SaleItemUncheckedCreateNestedManyWithoutSaleInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutSaleInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| create | SaleCreateWithoutCurrencyInput | SaleUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | SaleCreateManyCurrencyInput | SaleCreateManyCurrencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| sale | SaleCreateNestedOneWithoutItemsInput | No |
| product | ProductCreateNestedOneWithoutSele_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemWhereUniqueInput | No |
| create | SaleItemCreateWithoutCurrencyInput | SaleItemUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | SaleItemCreateManyCurrencyInput | SaleItemCreateManyCurrencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPurchasesInput | No |
| supplier | OrganizationCustomerCreateNestedOneWithoutPurchasesInput | No |
| responsible | UserCreateNestedOneWithoutPurchasesInput | No |
| kassa | KassaCreateNestedOneWithoutPurchasesInput | No |
| items | PurchaseItemCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| create | PurchaseCreateWithoutCurrencyInput | PurchaseUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PurchaseCreateManyCurrencyInput | PurchaseCreateManyCurrencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassa_transfersInput | No |
| from_kassa | KassaCreateNestedOneWithoutOutgoing_transfersInput | No |
| to_kassa | KassaCreateNestedOneWithoutIncoming_transfersInput | No |
| to_currency | CurrencyCreateNestedOneWithoutTo_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| create | KassaTransferCreateWithoutFrom_currencyInput | KassaTransferUncheckedCreateWithoutFrom_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | KassaTransferCreateManyFrom_currencyInput | KassaTransferCreateManyFrom_currencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassa_transfersInput | No |
| from_kassa | KassaCreateNestedOneWithoutOutgoing_transfersInput | No |
| to_kassa | KassaCreateNestedOneWithoutIncoming_transfersInput | No |
| from_currency | CurrencyCreateNestedOneWithoutFrom_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| create | KassaTransferCreateWithoutTo_currencyInput | KassaTransferUncheckedCreateWithoutTo_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | KassaTransferCreateManyTo_currencyInput | KassaTransferCreateManyTo_currencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| language | String | Null | Yes |
| dateFormat | String | Null | Yes |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | Null | Yes |
| logoUrl | String | Null | Yes |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSettingsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| language | String | Null | Yes |
| dateFormat | String | Null | Yes |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | Null | Yes |
| logoUrl | String | Null | Yes |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | SettingsWhereUniqueInput | No |
| create | SettingsCreateWithoutBaseCurrencyInput | SettingsUncheckedCreateWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | SettingsCreateManyBaseCurrencyInput | SettingsCreateManyBaseCurrencyInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceWhereUniqueInput | No |
| update | ProductPriceUpdateWithoutCurrencyInput | ProductPriceUncheckedUpdateWithoutCurrencyInput | No |
| create | ProductPriceCreateWithoutCurrencyInput | ProductPriceUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceWhereUniqueInput | No |
| data | ProductPriceUpdateWithoutCurrencyInput | ProductPriceUncheckedUpdateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceScalarWhereInput | No |
| data | ProductPriceUpdateManyMutationInput | ProductPriceUncheckedUpdateManyWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] | No |
| OR | ProductPriceScalarWhereInput[] | No |
| NOT | ProductPriceScalarWhereInput | ProductPriceScalarWhereInput[] | No |
| id | StringFilter | String | No |
| productId | StringFilter | String | No |
| organizationId | StringNullableFilter | String | Null | Yes |
| priceType | EnumPriceTypeFilter | PriceType | No |
| amount | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| customerType | EnumCustomerTypeNullableFilter | CustomerType | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| update | KassaUpdateWithoutCurrencyInput | KassaUncheckedUpdateWithoutCurrencyInput | No |
| create | KassaCreateWithoutCurrencyInput | KassaUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| data | KassaUpdateWithoutCurrencyInput | KassaUncheckedUpdateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaScalarWhereInput | No |
| data | KassaUpdateManyMutationInput | KassaUncheckedUpdateManyWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | KassaScalarWhereInput | KassaScalarWhereInput[] | No |
| OR | KassaScalarWhereInput[] | No |
| NOT | KassaScalarWhereInput | KassaScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| name | StringFilter | String | No |
| type | StringFilter | String | No |
| currencyId | StringFilter | String | No |
| balance | DecimalFilter | Decimal | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| update | PaymentUpdateWithoutCurrencyInput | PaymentUncheckedUpdateWithoutCurrencyInput | No |
| create | PaymentCreateWithoutCurrencyInput | PaymentUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| data | PaymentUpdateWithoutCurrencyInput | PaymentUncheckedUpdateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentScalarWhereInput | No |
| data | PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | PaymentScalarWhereInput | PaymentScalarWhereInput[] | No |
| OR | PaymentScalarWhereInput[] | No |
| NOT | PaymentScalarWhereInput | PaymentScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| userId | StringNullableFilter | String | Null | Yes |
| customerId | StringNullableFilter | String | Null | Yes |
| kassaId | StringFilter | String | No |
| amount | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| type | EnumPaymentTypeFilter | PaymentType | No |
| description | StringNullableFilter | String | Null | Yes |
| purchaseId | StringNullableFilter | String | Null | Yes |
| saleId | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionWhereUniqueInput | No |
| update | TransactionUpdateWithoutCurrencyInput | TransactionUncheckedUpdateWithoutCurrencyInput | No |
| create | TransactionCreateWithoutCurrencyInput | TransactionUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionWhereUniqueInput | No |
| data | TransactionUpdateWithoutCurrencyInput | TransactionUncheckedUpdateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionScalarWhereInput | No |
| data | TransactionUpdateManyMutationInput | TransactionUncheckedUpdateManyWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | TransactionScalarWhereInput | TransactionScalarWhereInput[] | No |
| OR | TransactionScalarWhereInput[] | No |
| NOT | TransactionScalarWhereInput | TransactionScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| customerId | StringFilter | String | No |
| relatedType | EnumRelatedTypeFilter | RelatedType | No |
| relatedId | StringFilter | String | No |
| date | DateTimeFilter | DateTime | No |
| debit | DecimalFilter | Decimal | No |
| credit | DecimalFilter | Decimal | No |
| balanceAfter | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| description | StringNullableFilter | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| update | SaleUpdateWithoutCurrencyInput | SaleUncheckedUpdateWithoutCurrencyInput | No |
| create | SaleCreateWithoutCurrencyInput | SaleUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| data | SaleUpdateWithoutCurrencyInput | SaleUncheckedUpdateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleScalarWhereInput | No |
| data | SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| OR | SaleScalarWhereInput[] | No |
| NOT | SaleScalarWhereInput | SaleScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| customerId | StringNullableFilter | String | Null | Yes |
| responsibleId | StringFilter | String | No |
| kassaId | StringNullableFilter | String | Null | Yes |
| invoiceNumber | StringFilter | String | No |
| saleDate | DateTimeFilter | DateTime | No |
| totalAmount | DecimalFilter | Decimal | No |
| paidAmount | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| status | EnumSaleStatusFilter | SaleStatus | No |
| notes | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemWhereUniqueInput | No |
| update | SaleItemUpdateWithoutCurrencyInput | SaleItemUncheckedUpdateWithoutCurrencyInput | No |
| create | SaleItemCreateWithoutCurrencyInput | SaleItemUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemWhereUniqueInput | No |
| data | SaleItemUpdateWithoutCurrencyInput | SaleItemUncheckedUpdateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemScalarWhereInput | No |
| data | SaleItemUpdateManyMutationInput | SaleItemUncheckedUpdateManyWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | SaleItemScalarWhereInput | SaleItemScalarWhereInput[] | No |
| OR | SaleItemScalarWhereInput[] | No |
| NOT | SaleItemScalarWhereInput | SaleItemScalarWhereInput[] | No |
| id | StringFilter | String | No |
| saleId | StringFilter | String | No |
| productId | StringFilter | String | No |
| quantity | IntFilter | Int | No |
| price | DecimalFilter | Decimal | No |
| total | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| update | PurchaseUpdateWithoutCurrencyInput | PurchaseUncheckedUpdateWithoutCurrencyInput | No |
| create | PurchaseCreateWithoutCurrencyInput | PurchaseUncheckedCreateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| data | PurchaseUpdateWithoutCurrencyInput | PurchaseUncheckedUpdateWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseScalarWhereInput | No |
| data | PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | PurchaseScalarWhereInput | PurchaseScalarWhereInput[] | No |
| OR | PurchaseScalarWhereInput[] | No |
| NOT | PurchaseScalarWhereInput | PurchaseScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| supplierId | StringFilter | String | No |
| responsibleId | StringNullableFilter | String | Null | Yes |
| kassaId | StringNullableFilter | String | Null | Yes |
| invoiceNumber | StringNullableFilter | String | Null | Yes |
| purchaseDate | DateTimeFilter | DateTime | No |
| totalAmount | DecimalFilter | Decimal | No |
| paidAmount | DecimalFilter | Decimal | No |
| currencyId | StringFilter | String | No |
| status | EnumPurchaseStatusFilter | PurchaseStatus | No |
| notes | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| update | KassaTransferUpdateWithoutFrom_currencyInput | KassaTransferUncheckedUpdateWithoutFrom_currencyInput | No |
| create | KassaTransferCreateWithoutFrom_currencyInput | KassaTransferUncheckedCreateWithoutFrom_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| data | KassaTransferUpdateWithoutFrom_currencyInput | KassaTransferUncheckedUpdateWithoutFrom_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferScalarWhereInput | No |
| data | KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutFrom_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] | No |
| OR | KassaTransferScalarWhereInput[] | No |
| NOT | KassaTransferScalarWhereInput | KassaTransferScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| fromKassaId | StringFilter | String | No |
| toKassaId | StringFilter | String | No |
| fromCurrencyId | StringFilter | String | No |
| toCurrencyId | StringFilter | String | No |
| rate | DecimalFilter | Decimal | No |
| amount | DecimalFilter | Decimal | No |
| convertedAmount | DecimalFilter | Decimal | No |
| description | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| update | KassaTransferUpdateWithoutTo_currencyInput | KassaTransferUncheckedUpdateWithoutTo_currencyInput | No |
| create | KassaTransferCreateWithoutTo_currencyInput | KassaTransferUncheckedCreateWithoutTo_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| data | KassaTransferUpdateWithoutTo_currencyInput | KassaTransferUncheckedUpdateWithoutTo_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferScalarWhereInput | No |
| data | KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutTo_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SettingsWhereUniqueInput | No |
| update | SettingsUpdateWithoutBaseCurrencyInput | SettingsUncheckedUpdateWithoutBaseCurrencyInput | No |
| create | SettingsCreateWithoutBaseCurrencyInput | SettingsUncheckedCreateWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SettingsWhereUniqueInput | No |
| data | SettingsUpdateWithoutBaseCurrencyInput | SettingsUncheckedUpdateWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SettingsScalarWhereInput | No |
| data | SettingsUpdateManyMutationInput | SettingsUncheckedUpdateManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | SettingsScalarWhereInput | SettingsScalarWhereInput[] | No |
| OR | SettingsScalarWhereInput[] | No |
| NOT | SettingsScalarWhereInput | SettingsScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| baseCurrencyId | StringFilter | String | No |
| language | StringNullableFilter | String | Null | Yes |
| dateFormat | StringNullableFilter | String | Null | Yes |
| enableInstallment | BoolFilter | Boolean | No |
| enableNotifications | BoolFilter | Boolean | No |
| enableAutoRateUpdate | BoolFilter | Boolean | No |
| taxPercent | DecimalNullableFilter | Decimal | Null | Yes |
| logoUrl | StringNullableFilter | String | Null | Yes |
| theme | EnumThemeTypeFilter | ThemeType | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| role | OrgUserRole | No |
| position | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| user | UserCreateNestedOneWithoutOrg_linksInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| role | OrgUserRole | No |
| position | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationUserWhereUniqueInput | No |
| create | OrganizationUserCreateWithoutOrganizationInput | OrganizationUserUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | OrganizationUserCreateManyOrganizationInput | OrganizationUserCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| user | UserCreateNestedOneWithoutCutomer_linksInput | No |
| product_instances | ProductInstanceCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionCreateNestedManyWithoutCustomerInput | No |
| sales | SaleCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_instances | ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCustomerInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| create | OrganizationCustomerCreateWithoutOrganizationInput | OrganizationCustomerUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | OrganizationCustomerCreateManyOrganizationInput | OrganizationCustomerCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| brand | BrandCreateNestedOneWithoutProductsInput | No |
| categories | ProductCategoryCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemCreateNestedManyWithoutProductInput | No |
| stocks | StockCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| categories | ProductCategoryUncheckedCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceUncheckedCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceUncheckedCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemUncheckedCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemUncheckedCreateNestedManyWithoutProductInput | No |
| stocks | StockUncheckedCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| create | ProductCreateWithoutOrganizationInput | ProductUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductCreateManyOrganizationInput | ProductCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| priceType | PriceType | No |
| amount | Decimal | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| currency | CurrencyCreateNestedOneWithoutProduct_pricesInput | No |
| product | ProductCreateNestedOneWithoutPricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| priceType | PriceType | No |
| amount | Decimal | No |
| currencyId | String | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceWhereUniqueInput | No |
| create | ProductPriceCreateWithoutOrganizationInput | ProductPriceUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductPriceCreateManyOrganizationInput | ProductPriceCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| serialNumber | String | No |
| currentStatus | ProductStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product | ProductCreateNestedOneWithoutInstancesInput | No |
| current_owner | OrganizationCustomerCreateNestedOneWithoutProduct_instancesInput | No |
| transactions | ProductTransactionCreateNestedManyWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| serialNumber | String | No |
| currentOwnerId | String | Null | Yes |
| currentStatus | ProductStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| transactions | ProductTransactionUncheckedCreateNestedManyWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | No |
| create | ProductInstanceCreateWithoutOrganizationInput | ProductInstanceUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductInstanceCreateManyOrganizationInput | ProductInstanceCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| currency | CurrencyCreateNestedOneWithoutKassasInput | No |
| payments | PaymentCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseCreateNestedManyWithoutKassaInput | No |
| sales | SaleCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutKassaInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| create | KassaCreateWithoutOrganizationInput | KassaUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | KassaCreateManyOrganizationInput | KassaCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| user | UserCreateNestedOneWithoutPaymentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutPaymentsInput | No |
| kassa | KassaCreateNestedOneWithoutPaymentsInput | No |
| currency | CurrencyCreateNestedOneWithoutPaymentsInput | No |
| purchase | PurchaseCreateNestedOneWithoutPaymentsInput | No |
| sale | SaleCreateNestedOneWithoutPaymentsInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| create | PaymentCreateWithoutOrganizationInput | PaymentUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PaymentCreateManyOrganizationInput | PaymentCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| description | String | Null | Yes |
| customer | OrganizationCustomerCreateNestedOneWithoutTransactionsInput | No |
| currency | CurrencyCreateNestedOneWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| customerId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| currencyId | String | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionWhereUniqueInput | No |
| create | TransactionCreateWithoutOrganizationInput | TransactionUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | TransactionCreateManyOrganizationInput | TransactionCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| customer | OrganizationCustomerCreateNestedOneWithoutSalesInput | No |
| responsible | UserCreateNestedOneWithoutSalesInput | No |
| currency | CurrencyCreateNestedOneWithoutSalesInput | No |
| kassa | KassaCreateNestedOneWithoutSalesInput | No |
| items | SaleItemCreateNestedManyWithoutSaleInput | No |
| payments | PaymentCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentCreateNestedManyWithoutSaleInput | No |
| documents | DocumentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | SaleItemUncheckedCreateNestedManyWithoutSaleInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutSaleInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| create | SaleCreateWithoutOrganizationInput | SaleUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | SaleCreateManyOrganizationInput | SaleCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| supplier | OrganizationCustomerCreateNestedOneWithoutPurchasesInput | No |
| responsible | UserCreateNestedOneWithoutPurchasesInput | No |
| currency | CurrencyCreateNestedOneWithoutPurchasesInput | No |
| kassa | KassaCreateNestedOneWithoutPurchasesInput | No |
| items | PurchaseItemCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| create | PurchaseCreateWithoutOrganizationInput | PurchaseUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PurchaseCreateManyOrganizationInput | PurchaseCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| product | ProductCreateNestedOneWithoutStocksInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | StockWhereUniqueInput | No |
| create | StockCreateWithoutOrganizationInput | StockUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | StockCreateManyOrganizationInput | StockCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| from_kassa | KassaCreateNestedOneWithoutOutgoing_transfersInput | No |
| to_kassa | KassaCreateNestedOneWithoutIncoming_transfersInput | No |
| from_currency | CurrencyCreateNestedOneWithoutFrom_transfersInput | No |
| to_currency | CurrencyCreateNestedOneWithoutTo_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| create | KassaTransferCreateWithoutOrganizationInput | KassaTransferUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | KassaTransferCreateManyOrganizationInput | KassaTransferCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| language | String | Null | Yes |
| dateFormat | String | Null | Yes |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | Null | Yes |
| logoUrl | String | Null | Yes |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| baseCurrency | CurrencyCreateNestedOneWithoutSettingsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| baseCurrencyId | String | No |
| language | String | Null | Yes |
| dateFormat | String | Null | Yes |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | Null | Yes |
| logoUrl | String | Null | Yes |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | SettingsWhereUniqueInput | No |
| create | SettingsCreateWithoutOrganizationInput | SettingsUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| action | String | No |
| entity | String | No |
| entityId | String | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | Null | Yes |
| createdAt | DateTime | No |
| user | UserCreateNestedOneWithoutAudit_logsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | Null | Yes |
| action | String | No |
| entity | String | No |
| entityId | String | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | AuditLogWhereUniqueInput | No |
| create | AuditLogCreateWithoutOrganizationInput | AuditLogUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | AuditLogCreateManyOrganizationInput | AuditLogCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| type | DocumentType | No |
| fileUrl | String | No |
| createdAt | DateTime | No |
| uploadedBy | UserCreateNestedOneWithoutDocumentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutDocumentsInput | No |
| sale | SaleCreateNestedOneWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| customerId | String | Null | Yes |
| saleId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| create | DocumentCreateWithoutOrganizationInput | DocumentUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | DocumentCreateManyOrganizationInput | DocumentCreateManyOrganizationInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationUserWhereUniqueInput | No |
| data | OrganizationUserUpdateWithoutOrganizationInput | OrganizationUserUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationUserScalarWhereInput | No |
| data | OrganizationUserUpdateManyMutationInput | OrganizationUserUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | OrganizationUserScalarWhereInput | OrganizationUserScalarWhereInput[] | No |
| OR | OrganizationUserScalarWhereInput[] | No |
| NOT | OrganizationUserScalarWhereInput | OrganizationUserScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| userId | StringFilter | String | No |
| role | EnumOrgUserRoleFilter | OrgUserRole | No |
| position | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| data | OrganizationCustomerUpdateWithoutOrganizationInput | OrganizationCustomerUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerScalarWhereInput | No |
| data | OrganizationCustomerUpdateManyMutationInput | OrganizationCustomerUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | OrganizationCustomerScalarWhereInput | OrganizationCustomerScalarWhereInput[] | No |
| OR | OrganizationCustomerScalarWhereInput[] | No |
| NOT | OrganizationCustomerScalarWhereInput | OrganizationCustomerScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| userId | StringNullableFilter | String | Null | Yes |
| firstName | StringFilter | String | No |
| lastName | StringFilter | String | No |
| patronymic | StringNullableFilter | String | Null | Yes |
| phone | StringFilter | String | No |
| type | EnumCustomerTypeFilter | CustomerType | No |
| isBlacklisted | BoolFilter | Boolean | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| update | ProductUpdateWithoutOrganizationInput | ProductUncheckedUpdateWithoutOrganizationInput | No |
| create | ProductCreateWithoutOrganizationInput | ProductUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| data | ProductUpdateWithoutOrganizationInput | ProductUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductScalarWhereInput | No |
| data | ProductUpdateManyMutationInput | ProductUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductScalarWhereInput | ProductScalarWhereInput[] | No |
| OR | ProductScalarWhereInput[] | No |
| NOT | ProductScalarWhereInput | ProductScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| name | StringFilter | String | No |
| description | StringNullableFilter | String | Null | Yes |
| expiry_date | DateTimeNullableFilter | DateTime | Null | Yes |
| serial_number | StringNullableFilter | String | Null | Yes |
| barcode | StringNullableFilter | String | Null | Yes |
| brandId | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceWhereUniqueInput | No |
| update | ProductPriceUpdateWithoutOrganizationInput | ProductPriceUncheckedUpdateWithoutOrganizationInput | No |
| create | ProductPriceCreateWithoutOrganizationInput | ProductPriceUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceWhereUniqueInput | No |
| data | ProductPriceUpdateWithoutOrganizationInput | ProductPriceUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceScalarWhereInput | No |
| data | ProductPriceUpdateManyMutationInput | ProductPriceUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | No |
| data | ProductInstanceUpdateWithoutOrganizationInput | ProductInstanceUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceScalarWhereInput | No |
| data | ProductInstanceUpdateManyMutationInput | ProductInstanceUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] | No |
| OR | ProductInstanceScalarWhereInput[] | No |
| NOT | ProductInstanceScalarWhereInput | ProductInstanceScalarWhereInput[] | No |
| id | StringFilter | String | No |
| productId | StringFilter | String | No |
| serialNumber | StringFilter | String | No |
| currentOwnerId | StringNullableFilter | String | Null | Yes |
| currentStatus | EnumProductStatusFilter | ProductStatus | No |
| organizationId | StringFilter | String | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| update | KassaUpdateWithoutOrganizationInput | KassaUncheckedUpdateWithoutOrganizationInput | No |
| create | KassaCreateWithoutOrganizationInput | KassaUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| data | KassaUpdateWithoutOrganizationInput | KassaUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaScalarWhereInput | No |
| data | KassaUpdateManyMutationInput | KassaUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| update | PaymentUpdateWithoutOrganizationInput | PaymentUncheckedUpdateWithoutOrganizationInput | No |
| create | PaymentCreateWithoutOrganizationInput | PaymentUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| data | PaymentUpdateWithoutOrganizationInput | PaymentUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentScalarWhereInput | No |
| data | PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionWhereUniqueInput | No |
| update | TransactionUpdateWithoutOrganizationInput | TransactionUncheckedUpdateWithoutOrganizationInput | No |
| create | TransactionCreateWithoutOrganizationInput | TransactionUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionWhereUniqueInput | No |
| data | TransactionUpdateWithoutOrganizationInput | TransactionUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionScalarWhereInput | No |
| data | TransactionUpdateManyMutationInput | TransactionUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| update | SaleUpdateWithoutOrganizationInput | SaleUncheckedUpdateWithoutOrganizationInput | No |
| create | SaleCreateWithoutOrganizationInput | SaleUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| data | SaleUpdateWithoutOrganizationInput | SaleUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleScalarWhereInput | No |
| data | SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| update | PurchaseUpdateWithoutOrganizationInput | PurchaseUncheckedUpdateWithoutOrganizationInput | No |
| create | PurchaseCreateWithoutOrganizationInput | PurchaseUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| data | PurchaseUpdateWithoutOrganizationInput | PurchaseUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseScalarWhereInput | No |
| data | PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | StockWhereUniqueInput | No |
| update | StockUpdateWithoutOrganizationInput | StockUncheckedUpdateWithoutOrganizationInput | No |
| create | StockCreateWithoutOrganizationInput | StockUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | StockWhereUniqueInput | No |
| data | StockUpdateWithoutOrganizationInput | StockUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | StockScalarWhereInput | No |
| data | StockUpdateManyMutationInput | StockUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | StockScalarWhereInput | StockScalarWhereInput[] | No |
| OR | StockScalarWhereInput[] | No |
| NOT | StockScalarWhereInput | StockScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| productId | StringFilter | String | No |
| quantity | IntFilter | Int | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| update | KassaTransferUpdateWithoutOrganizationInput | KassaTransferUncheckedUpdateWithoutOrganizationInput | No |
| create | KassaTransferCreateWithoutOrganizationInput | KassaTransferUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| data | KassaTransferUpdateWithoutOrganizationInput | KassaTransferUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferScalarWhereInput | No |
| data | KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | SettingsUpdateWithoutOrganizationInput | SettingsUncheckedUpdateWithoutOrganizationInput | No |
| create | SettingsCreateWithoutOrganizationInput | SettingsUncheckedCreateWithoutOrganizationInput | No |
| where | SettingsWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SettingsWhereInput | No |
| data | SettingsUpdateWithoutOrganizationInput | SettingsUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| language | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| dateFormat | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| enableInstallment | Boolean | BoolFieldUpdateOperationsInput | No |
| enableNotifications | Boolean | BoolFieldUpdateOperationsInput | No |
| enableAutoRateUpdate | Boolean | BoolFieldUpdateOperationsInput | No |
| taxPercent | Decimal | NullableDecimalFieldUpdateOperationsInput | Null | Yes |
| logoUrl | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| theme | ThemeType | EnumThemeTypeFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| baseCurrency | CurrencyUpdateOneRequiredWithoutSettingsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| baseCurrencyId | String | StringFieldUpdateOperationsInput | No |
| language | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| dateFormat | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| enableInstallment | Boolean | BoolFieldUpdateOperationsInput | No |
| enableNotifications | Boolean | BoolFieldUpdateOperationsInput | No |
| enableAutoRateUpdate | Boolean | BoolFieldUpdateOperationsInput | No |
| taxPercent | Decimal | NullableDecimalFieldUpdateOperationsInput | Null | Yes |
| logoUrl | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| theme | ThemeType | EnumThemeTypeFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | AuditLogWhereUniqueInput | No |
| update | AuditLogUpdateWithoutOrganizationInput | AuditLogUncheckedUpdateWithoutOrganizationInput | No |
| create | AuditLogCreateWithoutOrganizationInput | AuditLogUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | AuditLogWhereUniqueInput | No |
| data | AuditLogUpdateWithoutOrganizationInput | AuditLogUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | AuditLogScalarWhereInput | No |
| data | AuditLogUpdateManyMutationInput | AuditLogUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | AuditLogScalarWhereInput | AuditLogScalarWhereInput[] | No |
| OR | AuditLogScalarWhereInput[] | No |
| NOT | AuditLogScalarWhereInput | AuditLogScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| userId | StringNullableFilter | String | Null | Yes |
| action | StringFilter | String | No |
| entity | StringFilter | String | No |
| entityId | StringNullableFilter | String | Null | Yes |
| oldValue | JsonNullableFilter | No |
| newValue | JsonNullableFilter | No |
| note | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| update | DocumentUpdateWithoutOrganizationInput | DocumentUncheckedUpdateWithoutOrganizationInput | No |
| create | DocumentCreateWithoutOrganizationInput | DocumentUncheckedCreateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| data | DocumentUpdateWithoutOrganizationInput | DocumentUncheckedUpdateWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentScalarWhereInput | No |
| data | DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyWithoutOrganizationInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | DocumentScalarWhereInput | DocumentScalarWhereInput[] | No |
| OR | DocumentScalarWhereInput[] | No |
| NOT | DocumentScalarWhereInput | DocumentScalarWhereInput[] | No |
| id | StringFilter | String | No |
| organizationId | StringFilter | String | No |
| customerId | StringNullableFilter | String | Null | Yes |
| saleId | StringNullableFilter | String | Null | Yes |
| type | EnumDocumentTypeFilter | DocumentType | No |
| fileUrl | StringFilter | String | No |
| uploadedById | StringNullableFilter | String | Null | Yes |
| createdAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| dateOfBirth | DateTime | Null | Yes |
| gender | Gender | No |
| passportSeries | String | Null | Yes |
| passportNumber | String | Null | Yes |
| issuedBy | String | Null | Yes |
| issuedDate | DateTime | Null | Yes |
| expiryDate | DateTime | Null | Yes |
| country | String | Null | Yes |
| region | String | Null | Yes |
| city | String | Null | Yes |
| address | String | Null | Yes |
| registration | String | Null | Yes |
| district | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| dateOfBirth | DateTime | Null | Yes |
| gender | Gender | No |
| passportSeries | String | Null | Yes |
| passportNumber | String | Null | Yes |
| issuedBy | String | Null | Yes |
| issuedDate | DateTime | Null | Yes |
| expiryDate | DateTime | Null | Yes |
| country | String | Null | Yes |
| region | String | Null | Yes |
| city | String | Null | Yes |
| address | String | Null | Yes |
| registration | String | Null | Yes |
| district | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | UserProfileWhereUniqueInput | No |
| create | UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | RoleWhereUniqueInput | No |
| create | RoleCreateWithoutUsersInput | RoleUncheckedCreateWithoutUsersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| role | OrgUserRole | No |
| position | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutOrg_usersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| role | OrgUserRole | No |
| position | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationUserWhereUniqueInput | No |
| create | OrganizationUserCreateWithoutUserInput | OrganizationUserUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | OrganizationUserCreateManyUserInput | OrganizationUserCreateManyUserInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutCustomersInput | No |
| product_instances | ProductInstanceCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionCreateNestedManyWithoutCustomerInput | No |
| sales | SaleCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_instances | ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCustomerInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| create | OrganizationCustomerCreateWithoutUserInput | OrganizationCustomerUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | OrganizationCustomerCreateManyUserInput | OrganizationCustomerCreateManyUserInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPaymentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutPaymentsInput | No |
| kassa | KassaCreateNestedOneWithoutPaymentsInput | No |
| currency | CurrencyCreateNestedOneWithoutPaymentsInput | No |
| purchase | PurchaseCreateNestedOneWithoutPaymentsInput | No |
| sale | SaleCreateNestedOneWithoutPaymentsInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| create | PaymentCreateWithoutUserInput | PaymentUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PaymentCreateManyUserInput | PaymentCreateManyUserInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSalesInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutSalesInput | No |
| currency | CurrencyCreateNestedOneWithoutSalesInput | No |
| kassa | KassaCreateNestedOneWithoutSalesInput | No |
| items | SaleItemCreateNestedManyWithoutSaleInput | No |
| payments | PaymentCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentCreateNestedManyWithoutSaleInput | No |
| documents | DocumentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | SaleItemUncheckedCreateNestedManyWithoutSaleInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutSaleInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| create | SaleCreateWithoutResponsibleInput | SaleUncheckedCreateWithoutResponsibleInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | SaleCreateManyResponsibleInput | SaleCreateManyResponsibleInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPurchasesInput | No |
| supplier | OrganizationCustomerCreateNestedOneWithoutPurchasesInput | No |
| currency | CurrencyCreateNestedOneWithoutPurchasesInput | No |
| kassa | KassaCreateNestedOneWithoutPurchasesInput | No |
| items | PurchaseItemCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| create | PurchaseCreateWithoutResponsibleInput | PurchaseUncheckedCreateWithoutResponsibleInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PurchaseCreateManyResponsibleInput | PurchaseCreateManyResponsibleInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| phone | String | No |
| note | String | Null | Yes |
| isPrimary | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| phone | String | No |
| note | String | Null | Yes |
| isPrimary | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserPhoneWhereUniqueInput | No |
| create | UserPhoneCreateWithoutUserInput | UserPhoneUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | UserPhoneCreateManyUserInput | UserPhoneCreateManyUserInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| action | String | No |
| entity | String | No |
| entityId | String | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutAudit_logsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| action | String | No |
| entity | String | No |
| entityId | String | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | AuditLogWhereUniqueInput | No |
| create | AuditLogCreateWithoutUserInput | AuditLogUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | AuditLogCreateManyUserInput | AuditLogCreateManyUserInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| type | DocumentType | No |
| fileUrl | String | No |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutDocumentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutDocumentsInput | No |
| sale | SaleCreateNestedOneWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| saleId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| create | DocumentCreateWithoutUploadedByInput | DocumentUncheckedCreateWithoutUploadedByInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | DocumentCreateManyUploadedByInput | DocumentCreateManyUploadedByInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| installment | InstallmentCreateNestedOneWithoutPaymentsInput | No |
| payment | PaymentCreateNestedOneWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| installmentId | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| paymentId | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | No |
| create | InstallmentPaymentCreateWithoutCreated_byInput | InstallmentPaymentUncheckedCreateWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | InstallmentPaymentCreateManyCreated_byInput | InstallmentPaymentCreateManyCreated_byInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserProfileUpdateWithoutUserInput | UserProfileUncheckedUpdateWithoutUserInput | No |
| create | UserProfileCreateWithoutUserInput | UserProfileUncheckedCreateWithoutUserInput | No |
| where | UserProfileWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserProfileWhereInput | No |
| data | UserProfileUpdateWithoutUserInput | UserProfileUncheckedUpdateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | RoleUpdateWithoutUsersInput | RoleUncheckedUpdateWithoutUsersInput | No |
| create | RoleCreateWithoutUsersInput | RoleUncheckedCreateWithoutUsersInput | No |
| where | RoleWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | RoleWhereInput | No |
| data | RoleUpdateWithoutUsersInput | RoleUncheckedUpdateWithoutUsersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationUserWhereUniqueInput | No |
| update | OrganizationUserUpdateWithoutUserInput | OrganizationUserUncheckedUpdateWithoutUserInput | No |
| create | OrganizationUserCreateWithoutUserInput | OrganizationUserUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationUserWhereUniqueInput | No |
| data | OrganizationUserUpdateWithoutUserInput | OrganizationUserUncheckedUpdateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationUserScalarWhereInput | No |
| data | OrganizationUserUpdateManyMutationInput | OrganizationUserUncheckedUpdateManyWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| update | OrganizationCustomerUpdateWithoutUserInput | OrganizationCustomerUncheckedUpdateWithoutUserInput | No |
| create | OrganizationCustomerCreateWithoutUserInput | OrganizationCustomerUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| data | OrganizationCustomerUpdateWithoutUserInput | OrganizationCustomerUncheckedUpdateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerScalarWhereInput | No |
| data | OrganizationCustomerUpdateManyMutationInput | OrganizationCustomerUncheckedUpdateManyWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| update | PaymentUpdateWithoutUserInput | PaymentUncheckedUpdateWithoutUserInput | No |
| create | PaymentCreateWithoutUserInput | PaymentUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| data | PaymentUpdateWithoutUserInput | PaymentUncheckedUpdateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentScalarWhereInput | No |
| data | PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| update | SaleUpdateWithoutResponsibleInput | SaleUncheckedUpdateWithoutResponsibleInput | No |
| create | SaleCreateWithoutResponsibleInput | SaleUncheckedCreateWithoutResponsibleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| data | SaleUpdateWithoutResponsibleInput | SaleUncheckedUpdateWithoutResponsibleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleScalarWhereInput | No |
| data | SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutResponsibleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| update | PurchaseUpdateWithoutResponsibleInput | PurchaseUncheckedUpdateWithoutResponsibleInput | No |
| create | PurchaseCreateWithoutResponsibleInput | PurchaseUncheckedCreateWithoutResponsibleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| data | PurchaseUpdateWithoutResponsibleInput | PurchaseUncheckedUpdateWithoutResponsibleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseScalarWhereInput | No |
| data | PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutResponsibleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserPhoneWhereUniqueInput | No |
| update | UserPhoneUpdateWithoutUserInput | UserPhoneUncheckedUpdateWithoutUserInput | No |
| create | UserPhoneCreateWithoutUserInput | UserPhoneUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserPhoneWhereUniqueInput | No |
| data | UserPhoneUpdateWithoutUserInput | UserPhoneUncheckedUpdateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserPhoneScalarWhereInput | No |
| data | UserPhoneUpdateManyMutationInput | UserPhoneUncheckedUpdateManyWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | UserPhoneScalarWhereInput | UserPhoneScalarWhereInput[] | No |
| OR | UserPhoneScalarWhereInput[] | No |
| NOT | UserPhoneScalarWhereInput | UserPhoneScalarWhereInput[] | No |
| id | StringFilter | String | No |
| userId | StringFilter | String | No |
| phone | StringFilter | String | No |
| note | StringNullableFilter | String | Null | Yes |
| isPrimary | BoolFilter | Boolean | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | AuditLogWhereUniqueInput | No |
| update | AuditLogUpdateWithoutUserInput | AuditLogUncheckedUpdateWithoutUserInput | No |
| create | AuditLogCreateWithoutUserInput | AuditLogUncheckedCreateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | AuditLogWhereUniqueInput | No |
| data | AuditLogUpdateWithoutUserInput | AuditLogUncheckedUpdateWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | AuditLogScalarWhereInput | No |
| data | AuditLogUpdateManyMutationInput | AuditLogUncheckedUpdateManyWithoutUserInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| update | DocumentUpdateWithoutUploadedByInput | DocumentUncheckedUpdateWithoutUploadedByInput | No |
| create | DocumentCreateWithoutUploadedByInput | DocumentUncheckedCreateWithoutUploadedByInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| data | DocumentUpdateWithoutUploadedByInput | DocumentUncheckedUpdateWithoutUploadedByInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentScalarWhereInput | No |
| data | DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyWithoutUploadedByInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | No |
| data | InstallmentPaymentUpdateWithoutCreated_byInput | InstallmentPaymentUncheckedUpdateWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentScalarWhereInput | No |
| data | InstallmentPaymentUpdateManyMutationInput | InstallmentPaymentUncheckedUpdateManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] | No |
| OR | InstallmentPaymentScalarWhereInput[] | No |
| NOT | InstallmentPaymentScalarWhereInput | InstallmentPaymentScalarWhereInput[] | No |
| id | StringFilter | String | No |
| installmentId | StringFilter | String | No |
| amount | DecimalFilter | Decimal | No |
| paidAt | DateTimeFilter | DateTime | No |
| paymentMethod | StringNullableFilter | String | Null | Yes |
| note | StringNullableFilter | String | Null | Yes |
| createdById | StringNullableFilter | String | Null | Yes |
| paymentId | StringNullableFilter | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutProfileInput | UserUncheckedCreateWithoutProfileInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutProfileInput | UserUncheckedUpdateWithoutProfileInput | No |
| create | UserCreateWithoutProfileInput | UserUncheckedCreateWithoutProfileInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutProfileInput | UserUncheckedUpdateWithoutProfileInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | UserCreateManyRoleInput | UserCreateManyRoleInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| update | UserUpdateWithoutRoleInput | UserUncheckedUpdateWithoutRoleInput | No |
| create | UserCreateWithoutRoleInput | UserUncheckedCreateWithoutRoleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| data | UserUpdateWithoutRoleInput | UserUncheckedUpdateWithoutRoleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserScalarWhereInput | No |
| data | UserUpdateManyMutationInput | UserUncheckedUpdateManyWithoutRoleInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | UserScalarWhereInput | UserScalarWhereInput[] | No |
| OR | UserScalarWhereInput[] | No |
| NOT | UserScalarWhereInput | UserScalarWhereInput[] | No |
| id | StringFilter | String | No |
| StringNullableFilter | String | Null | Yes | |
| password | StringFilter | String | No |
| isActive | BoolFilter | Boolean | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| roleId | StringNullableFilter | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutPhone_numbersInput | UserUncheckedCreateWithoutPhone_numbersInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutPhone_numbersInput | UserUncheckedUpdateWithoutPhone_numbersInput | No |
| create | UserCreateWithoutPhone_numbersInput | UserUncheckedCreateWithoutPhone_numbersInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutPhone_numbersInput | UserUncheckedUpdateWithoutPhone_numbersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutOrg_usersInput | OrganizationUncheckedCreateWithoutOrg_usersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutOrg_linksInput | UserUncheckedCreateWithoutOrg_linksInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutOrg_usersInput | OrganizationUncheckedUpdateWithoutOrg_usersInput | No |
| create | OrganizationCreateWithoutOrg_usersInput | OrganizationUncheckedCreateWithoutOrg_usersInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutOrg_usersInput | OrganizationUncheckedUpdateWithoutOrg_usersInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutOrg_linksInput | UserUncheckedUpdateWithoutOrg_linksInput | No |
| create | UserCreateWithoutOrg_linksInput | UserUncheckedCreateWithoutOrg_linksInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutOrg_linksInput | UserUncheckedUpdateWithoutOrg_linksInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutCustomersInput | OrganizationUncheckedCreateWithoutCustomersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutCutomer_linksInput | UserUncheckedCreateWithoutCutomer_linksInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| serialNumber | String | No |
| currentStatus | ProductStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product | ProductCreateNestedOneWithoutInstancesInput | No |
| organization | OrganizationCreateNestedOneWithoutProduct_instancesInput | No |
| transactions | ProductTransactionCreateNestedManyWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| serialNumber | String | No |
| currentStatus | ProductStatus | No |
| organizationId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| transactions | ProductTransactionUncheckedCreateNestedManyWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | No |
| create | ProductInstanceCreateWithoutCurrent_ownerInput | ProductInstanceUncheckedCreateWithoutCurrent_ownerInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductInstanceCreateManyCurrent_ownerInput | ProductInstanceCreateManyCurrent_ownerInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPaymentsInput | No |
| user | UserCreateNestedOneWithoutPaymentsInput | No |
| kassa | KassaCreateNestedOneWithoutPaymentsInput | No |
| currency | CurrencyCreateNestedOneWithoutPaymentsInput | No |
| purchase | PurchaseCreateNestedOneWithoutPaymentsInput | No |
| sale | SaleCreateNestedOneWithoutPaymentsInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| create | PaymentCreateWithoutCustomerInput | PaymentUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PaymentCreateManyCustomerInput | PaymentCreateManyCustomerInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| description | String | Null | Yes |
| organization | OrganizationCreateNestedOneWithoutTransactionsInput | No |
| currency | CurrencyCreateNestedOneWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| currencyId | String | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionWhereUniqueInput | No |
| create | TransactionCreateWithoutCustomerInput | TransactionUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | TransactionCreateManyCustomerInput | TransactionCreateManyCustomerInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSalesInput | No |
| responsible | UserCreateNestedOneWithoutSalesInput | No |
| currency | CurrencyCreateNestedOneWithoutSalesInput | No |
| kassa | KassaCreateNestedOneWithoutSalesInput | No |
| items | SaleItemCreateNestedManyWithoutSaleInput | No |
| payments | PaymentCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentCreateNestedManyWithoutSaleInput | No |
| documents | DocumentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | SaleItemUncheckedCreateNestedManyWithoutSaleInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutSaleInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| create | SaleCreateWithoutCustomerInput | SaleUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | SaleCreateManyCustomerInput | SaleCreateManyCustomerInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPurchasesInput | No |
| responsible | UserCreateNestedOneWithoutPurchasesInput | No |
| currency | CurrencyCreateNestedOneWithoutPurchasesInput | No |
| kassa | KassaCreateNestedOneWithoutPurchasesInput | No |
| items | PurchaseItemCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| create | PurchaseCreateWithoutSupplierInput | PurchaseUncheckedCreateWithoutSupplierInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PurchaseCreateManySupplierInput | PurchaseCreateManySupplierInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| sale | SaleCreateNestedOneWithoutInstallmentsInput | No |
| payments | InstallmentPaymentCreateNestedManyWithoutInstallmentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | InstallmentPaymentUncheckedCreateNestedManyWithoutInstallmentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentWhereUniqueInput | No |
| create | InstallmentCreateWithoutCustomerInput | InstallmentUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | InstallmentCreateManyCustomerInput | InstallmentCreateManyCustomerInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| type | DocumentType | No |
| fileUrl | String | No |
| createdAt | DateTime | No |
| uploadedBy | UserCreateNestedOneWithoutDocumentsInput | No |
| organization | OrganizationCreateNestedOneWithoutDocumentsInput | No |
| sale | SaleCreateNestedOneWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| saleId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| create | DocumentCreateWithoutCustomerInput | DocumentUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | DocumentCreateManyCustomerInput | DocumentCreateManyCustomerInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutCustomersInput | OrganizationUncheckedUpdateWithoutCustomersInput | No |
| create | OrganizationCreateWithoutCustomersInput | OrganizationUncheckedCreateWithoutCustomersInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutCustomersInput | OrganizationUncheckedUpdateWithoutCustomersInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutCutomer_linksInput | UserUncheckedUpdateWithoutCutomer_linksInput | No |
| create | UserCreateWithoutCutomer_linksInput | UserUncheckedCreateWithoutCutomer_linksInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutCutomer_linksInput | UserUncheckedUpdateWithoutCutomer_linksInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | No |
| data | ProductInstanceUpdateWithoutCurrent_ownerInput | ProductInstanceUncheckedUpdateWithoutCurrent_ownerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceScalarWhereInput | No |
| data | ProductInstanceUpdateManyMutationInput | ProductInstanceUncheckedUpdateManyWithoutCurrent_ownerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| update | PaymentUpdateWithoutCustomerInput | PaymentUncheckedUpdateWithoutCustomerInput | No |
| create | PaymentCreateWithoutCustomerInput | PaymentUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| data | PaymentUpdateWithoutCustomerInput | PaymentUncheckedUpdateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentScalarWhereInput | No |
| data | PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionWhereUniqueInput | No |
| update | TransactionUpdateWithoutCustomerInput | TransactionUncheckedUpdateWithoutCustomerInput | No |
| create | TransactionCreateWithoutCustomerInput | TransactionUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionWhereUniqueInput | No |
| data | TransactionUpdateWithoutCustomerInput | TransactionUncheckedUpdateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | TransactionScalarWhereInput | No |
| data | TransactionUpdateManyMutationInput | TransactionUncheckedUpdateManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| update | SaleUpdateWithoutCustomerInput | SaleUncheckedUpdateWithoutCustomerInput | No |
| create | SaleCreateWithoutCustomerInput | SaleUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| data | SaleUpdateWithoutCustomerInput | SaleUncheckedUpdateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleScalarWhereInput | No |
| data | SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| update | PurchaseUpdateWithoutSupplierInput | PurchaseUncheckedUpdateWithoutSupplierInput | No |
| create | PurchaseCreateWithoutSupplierInput | PurchaseUncheckedCreateWithoutSupplierInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| data | PurchaseUpdateWithoutSupplierInput | PurchaseUncheckedUpdateWithoutSupplierInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseScalarWhereInput | No |
| data | PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutSupplierInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentWhereUniqueInput | No |
| update | InstallmentUpdateWithoutCustomerInput | InstallmentUncheckedUpdateWithoutCustomerInput | No |
| create | InstallmentCreateWithoutCustomerInput | InstallmentUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentWhereUniqueInput | No |
| data | InstallmentUpdateWithoutCustomerInput | InstallmentUncheckedUpdateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentScalarWhereInput | No |
| data | InstallmentUpdateManyMutationInput | InstallmentUncheckedUpdateManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | InstallmentScalarWhereInput | InstallmentScalarWhereInput[] | No |
| OR | InstallmentScalarWhereInput[] | No |
| NOT | InstallmentScalarWhereInput | InstallmentScalarWhereInput[] | No |
| id | StringFilter | String | No |
| saleId | StringFilter | String | No |
| customerId | StringFilter | String | No |
| totalAmount | DecimalFilter | Decimal | No |
| initialPayment | DecimalFilter | Decimal | No |
| paidAmount | DecimalFilter | Decimal | No |
| remaining | DecimalFilter | Decimal | No |
| totalMonths | IntFilter | Int | No |
| monthsLeft | IntFilter | Int | No |
| monthlyPayment | DecimalFilter | Decimal | No |
| dueDate | DateTimeFilter | DateTime | No |
| status | EnumInstallmentStatusFilter | InstallmentStatus | No |
| createdAt | DateTimeFilter | DateTime | No |
| updatedAt | DateTimeFilter | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| update | DocumentUpdateWithoutCustomerInput | DocumentUncheckedUpdateWithoutCustomerInput | No |
| create | DocumentCreateWithoutCustomerInput | DocumentUncheckedCreateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| data | DocumentUpdateWithoutCustomerInput | DocumentUncheckedUpdateWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentScalarWhereInput | No |
| data | DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProductsInput | No |
| categories | ProductCategoryCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemCreateNestedManyWithoutProductInput | No |
| stocks | StockCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| categories | ProductCategoryUncheckedCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceUncheckedCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceUncheckedCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemUncheckedCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemUncheckedCreateNestedManyWithoutProductInput | No |
| stocks | StockUncheckedCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| create | ProductCreateWithoutBrandInput | ProductUncheckedCreateWithoutBrandInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductCreateManyBrandInput | ProductCreateManyBrandInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| update | ProductUpdateWithoutBrandInput | ProductUncheckedUpdateWithoutBrandInput | No |
| create | ProductCreateWithoutBrandInput | ProductUncheckedCreateWithoutBrandInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| data | ProductUpdateWithoutBrandInput | ProductUncheckedUpdateWithoutBrandInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductScalarWhereInput | No |
| data | ProductUpdateManyMutationInput | ProductUncheckedUpdateManyWithoutBrandInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutProductsInput | OrganizationUncheckedCreateWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | BrandWhereUniqueInput | No |
| create | BrandCreateWithoutProductsInput | BrandUncheckedCreateWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| category | CategoryCreateNestedOneWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| categoryId | String | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductCategoryWhereUniqueInput | No |
| create | ProductCategoryCreateWithoutProductInput | ProductCategoryUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductCategoryCreateManyProductInput | ProductCategoryCreateManyProductInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| priceType | PriceType | No |
| amount | Decimal | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| currency | CurrencyCreateNestedOneWithoutProduct_pricesInput | No |
| organization | OrganizationCreateNestedOneWithoutProduct_pricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | Null | Yes |
| priceType | PriceType | No |
| amount | Decimal | No |
| currencyId | String | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceWhereUniqueInput | No |
| create | ProductPriceCreateWithoutProductInput | ProductPriceUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductPriceCreateManyProductInput | ProductPriceCreateManyProductInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| serialNumber | String | No |
| currentStatus | ProductStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProduct_instancesInput | No |
| current_owner | OrganizationCustomerCreateNestedOneWithoutProduct_instancesInput | No |
| transactions | ProductTransactionCreateNestedManyWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| serialNumber | String | No |
| currentOwnerId | String | Null | Yes |
| currentStatus | ProductStatus | No |
| organizationId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| transactions | ProductTransactionUncheckedCreateNestedManyWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | No |
| create | ProductInstanceCreateWithoutProductInput | ProductInstanceUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductInstanceCreateManyProductInput | ProductInstanceCreateManyProductInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| sale | SaleCreateNestedOneWithoutItemsInput | No |
| currency | CurrencyCreateNestedOneWithoutSale_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| currencyId | String | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemWhereUniqueInput | No |
| create | SaleItemCreateWithoutProductInput | SaleItemUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | SaleItemCreateManyProductInput | SaleItemCreateManyProductInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| purchase | PurchaseCreateNestedOneWithoutItemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| purchaseId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseItemWhereUniqueInput | No |
| create | PurchaseItemCreateWithoutProductInput | PurchaseItemUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PurchaseItemCreateManyProductInput | PurchaseItemCreateManyProductInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutStocksInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | StockWhereUniqueInput | No |
| create | StockCreateWithoutProductInput | StockUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | StockCreateManyProductInput | StockCreateManyProductInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| batchNumber | String | No |
| expiryDate | DateTime | Null | Yes |
| quantity | Int | No |
| isValid | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| batchNumber | String | No |
| expiryDate | DateTime | Null | Yes |
| quantity | Int | No |
| isValid | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductBatchWhereUniqueInput | No |
| create | ProductBatchCreateWithoutProductInput | ProductBatchUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductBatchCreateManyProductInput | ProductBatchCreateManyProductInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutProductsInput | OrganizationUncheckedUpdateWithoutProductsInput | No |
| create | OrganizationCreateWithoutProductsInput | OrganizationUncheckedCreateWithoutProductsInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutProductsInput | OrganizationUncheckedUpdateWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | BrandUpdateWithoutProductsInput | BrandUncheckedUpdateWithoutProductsInput | No |
| create | BrandCreateWithoutProductsInput | BrandUncheckedCreateWithoutProductsInput | No |
| where | BrandWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | BrandWhereInput | No |
| data | BrandUpdateWithoutProductsInput | BrandUncheckedUpdateWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductCategoryWhereUniqueInput | No |
| update | ProductCategoryUpdateWithoutProductInput | ProductCategoryUncheckedUpdateWithoutProductInput | No |
| create | ProductCategoryCreateWithoutProductInput | ProductCategoryUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductCategoryWhereUniqueInput | No |
| data | ProductCategoryUpdateWithoutProductInput | ProductCategoryUncheckedUpdateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductCategoryScalarWhereInput | No |
| data | ProductCategoryUpdateManyMutationInput | ProductCategoryUncheckedUpdateManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductCategoryScalarWhereInput | ProductCategoryScalarWhereInput[] | No |
| OR | ProductCategoryScalarWhereInput[] | No |
| NOT | ProductCategoryScalarWhereInput | ProductCategoryScalarWhereInput[] | No |
| productId | StringFilter | String | No |
| categoryId | StringFilter | String | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceWhereUniqueInput | No |
| update | ProductPriceUpdateWithoutProductInput | ProductPriceUncheckedUpdateWithoutProductInput | No |
| create | ProductPriceCreateWithoutProductInput | ProductPriceUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceWhereUniqueInput | No |
| data | ProductPriceUpdateWithoutProductInput | ProductPriceUncheckedUpdateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductPriceScalarWhereInput | No |
| data | ProductPriceUpdateManyMutationInput | ProductPriceUncheckedUpdateManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | No |
| update | ProductInstanceUpdateWithoutProductInput | ProductInstanceUncheckedUpdateWithoutProductInput | No |
| create | ProductInstanceCreateWithoutProductInput | ProductInstanceUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | No |
| data | ProductInstanceUpdateWithoutProductInput | ProductInstanceUncheckedUpdateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceScalarWhereInput | No |
| data | ProductInstanceUpdateManyMutationInput | ProductInstanceUncheckedUpdateManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemWhereUniqueInput | No |
| update | SaleItemUpdateWithoutProductInput | SaleItemUncheckedUpdateWithoutProductInput | No |
| create | SaleItemCreateWithoutProductInput | SaleItemUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemWhereUniqueInput | No |
| data | SaleItemUpdateWithoutProductInput | SaleItemUncheckedUpdateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemScalarWhereInput | No |
| data | SaleItemUpdateManyMutationInput | SaleItemUncheckedUpdateManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseItemWhereUniqueInput | No |
| update | PurchaseItemUpdateWithoutProductInput | PurchaseItemUncheckedUpdateWithoutProductInput | No |
| create | PurchaseItemCreateWithoutProductInput | PurchaseItemUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseItemWhereUniqueInput | No |
| data | PurchaseItemUpdateWithoutProductInput | PurchaseItemUncheckedUpdateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseItemScalarWhereInput | No |
| data | PurchaseItemUpdateManyMutationInput | PurchaseItemUncheckedUpdateManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | PurchaseItemScalarWhereInput | PurchaseItemScalarWhereInput[] | No |
| OR | PurchaseItemScalarWhereInput[] | No |
| NOT | PurchaseItemScalarWhereInput | PurchaseItemScalarWhereInput[] | No |
| id | StringFilter | String | No |
| purchaseId | StringFilter | String | No |
| productId | StringFilter | String | No |
| quantity | IntFilter | Int | No |
| price | DecimalFilter | Decimal | No |
| discount | DecimalFilter | Decimal | No |
| total | DecimalFilter | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| where | StockWhereUniqueInput | No |
| update | StockUpdateWithoutProductInput | StockUncheckedUpdateWithoutProductInput | No |
| create | StockCreateWithoutProductInput | StockUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | StockWhereUniqueInput | No |
| data | StockUpdateWithoutProductInput | StockUncheckedUpdateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | StockScalarWhereInput | No |
| data | StockUpdateManyMutationInput | StockUncheckedUpdateManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductBatchWhereUniqueInput | No |
| update | ProductBatchUpdateWithoutProductInput | ProductBatchUncheckedUpdateWithoutProductInput | No |
| create | ProductBatchCreateWithoutProductInput | ProductBatchUncheckedCreateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductBatchWhereUniqueInput | No |
| data | ProductBatchUpdateWithoutProductInput | ProductBatchUncheckedUpdateWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductBatchScalarWhereInput | No |
| data | ProductBatchUpdateManyMutationInput | ProductBatchUncheckedUpdateManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductBatchScalarWhereInput | ProductBatchScalarWhereInput[] | No |
| OR | ProductBatchScalarWhereInput[] | No |
| NOT | ProductBatchScalarWhereInput | ProductBatchScalarWhereInput[] | No |
| id | StringFilter | String | No |
| productId | StringFilter | String | No |
| batchNumber | StringFilter | String | No |
| expiryDate | DateTimeNullableFilter | DateTime | Null | Yes |
| quantity | IntFilter | Int | No |
| isValid | BoolFilter | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| product | ProductCreateNestedOneWithoutCategoriesInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductCategoryWhereUniqueInput | No |
| create | ProductCategoryCreateWithoutCategoryInput | ProductCategoryUncheckedCreateWithoutCategoryInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductCategoryCreateManyCategoryInput | ProductCategoryCreateManyCategoryInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductCategoryWhereUniqueInput | No |
| update | ProductCategoryUpdateWithoutCategoryInput | ProductCategoryUncheckedUpdateWithoutCategoryInput | No |
| create | ProductCategoryCreateWithoutCategoryInput | ProductCategoryUncheckedCreateWithoutCategoryInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductCategoryWhereUniqueInput | No |
| data | ProductCategoryUpdateWithoutCategoryInput | ProductCategoryUncheckedUpdateWithoutCategoryInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductCategoryScalarWhereInput | No |
| data | ProductCategoryUpdateManyMutationInput | ProductCategoryUncheckedUpdateManyWithoutCategoryInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProductsInput | No |
| brand | BrandCreateNestedOneWithoutProductsInput | No |
| prices | ProductPriceCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemCreateNestedManyWithoutProductInput | No |
| stocks | StockCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| prices | ProductPriceUncheckedCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceUncheckedCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemUncheckedCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemUncheckedCreateNestedManyWithoutProductInput | No |
| stocks | StockUncheckedCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| create | ProductCreateWithoutCategoriesInput | ProductUncheckedCreateWithoutCategoriesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | CategoryWhereUniqueInput | No |
| create | CategoryCreateWithoutProductsInput | CategoryUncheckedCreateWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | ProductUpdateWithoutCategoriesInput | ProductUncheckedUpdateWithoutCategoriesInput | No |
| create | ProductCreateWithoutCategoriesInput | ProductUncheckedCreateWithoutCategoriesInput | No |
| where | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereInput | No |
| data | ProductUpdateWithoutCategoriesInput | ProductUncheckedUpdateWithoutCategoriesInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CategoryUpdateWithoutProductsInput | CategoryUncheckedUpdateWithoutProductsInput | No |
| create | CategoryCreateWithoutProductsInput | CategoryUncheckedCreateWithoutProductsInput | No |
| where | CategoryWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CategoryWhereInput | No |
| data | CategoryUpdateWithoutProductsInput | CategoryUncheckedUpdateWithoutProductsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutProduct_pricesInput | CurrencyUncheckedCreateWithoutProduct_pricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProductsInput | No |
| brand | BrandCreateNestedOneWithoutProductsInput | No |
| categories | ProductCategoryCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemCreateNestedManyWithoutProductInput | No |
| stocks | StockCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| categories | ProductCategoryUncheckedCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceUncheckedCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemUncheckedCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemUncheckedCreateNestedManyWithoutProductInput | No |
| stocks | StockUncheckedCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| create | ProductCreateWithoutPricesInput | ProductUncheckedCreateWithoutPricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutProduct_pricesInput | OrganizationUncheckedCreateWithoutProduct_pricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutProduct_pricesInput | CurrencyUncheckedUpdateWithoutProduct_pricesInput | No |
| create | CurrencyCreateWithoutProduct_pricesInput | CurrencyUncheckedCreateWithoutProduct_pricesInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutProduct_pricesInput | CurrencyUncheckedUpdateWithoutProduct_pricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| kassas | KassaUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | ProductUpdateWithoutPricesInput | ProductUncheckedUpdateWithoutPricesInput | No |
| create | ProductCreateWithoutPricesInput | ProductUncheckedCreateWithoutPricesInput | No |
| where | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereInput | No |
| data | ProductUpdateWithoutPricesInput | ProductUncheckedUpdateWithoutPricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutProduct_pricesInput | OrganizationUncheckedUpdateWithoutProduct_pricesInput | No |
| create | OrganizationCreateWithoutProduct_pricesInput | OrganizationUncheckedCreateWithoutProduct_pricesInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutProduct_pricesInput | OrganizationUncheckedUpdateWithoutProduct_pricesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProductsInput | No |
| brand | BrandCreateNestedOneWithoutProductsInput | No |
| categories | ProductCategoryCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemCreateNestedManyWithoutProductInput | No |
| stocks | StockCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| categories | ProductCategoryUncheckedCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceUncheckedCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemUncheckedCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemUncheckedCreateNestedManyWithoutProductInput | No |
| stocks | StockUncheckedCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| create | ProductCreateWithoutInstancesInput | ProductUncheckedCreateWithoutInstancesInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutProduct_instancesInput | OrganizationUncheckedCreateWithoutProduct_instancesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutCustomersInput | No |
| user | UserCreateNestedOneWithoutCutomer_linksInput | No |
| payments | PaymentCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionCreateNestedManyWithoutCustomerInput | No |
| sales | SaleCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCustomerInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| create | OrganizationCustomerCreateWithoutProduct_instancesInput | OrganizationCustomerUncheckedCreateWithoutProduct_instancesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| fromCustomerId | String | Null | Yes |
| toCustomerId | String | Null | Yes |
| toOrganizationId | String | Null | Yes |
| saleId | String | Null | Yes |
| action | ProductAction | No |
| date | DateTime | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| fromCustomerId | String | Null | Yes |
| toCustomerId | String | Null | Yes |
| toOrganizationId | String | Null | Yes |
| saleId | String | Null | Yes |
| action | ProductAction | No |
| date | DateTime | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | ProductTransactionWhereUniqueInput | No |
| create | ProductTransactionCreateWithoutProduct_instanceInput | ProductTransactionUncheckedCreateWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | ProductTransactionCreateManyProduct_instanceInput | ProductTransactionCreateManyProduct_instanceInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| update | ProductUpdateWithoutInstancesInput | ProductUncheckedUpdateWithoutInstancesInput | No |
| create | ProductCreateWithoutInstancesInput | ProductUncheckedCreateWithoutInstancesInput | No |
| where | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereInput | No |
| data | ProductUpdateWithoutInstancesInput | ProductUncheckedUpdateWithoutInstancesInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutProduct_instancesInput | OrganizationUncheckedUpdateWithoutProduct_instancesInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| data | OrganizationCustomerUpdateWithoutProduct_instancesInput | OrganizationCustomerUncheckedUpdateWithoutProduct_instancesInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductTransactionWhereUniqueInput | No |
| data | ProductTransactionUpdateWithoutProduct_instanceInput | ProductTransactionUncheckedUpdateWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductTransactionScalarWhereInput | No |
| data | ProductTransactionUpdateManyMutationInput | ProductTransactionUncheckedUpdateManyWithoutProduct_instanceInput | No |
| Name | Type | Nullable |
|---|---|---|
| AND | ProductTransactionScalarWhereInput | ProductTransactionScalarWhereInput[] | No |
| OR | ProductTransactionScalarWhereInput[] | No |
| NOT | ProductTransactionScalarWhereInput | ProductTransactionScalarWhereInput[] | No |
| id | StringFilter | String | No |
| productInstanceId | StringFilter | String | No |
| fromCustomerId | StringNullableFilter | String | Null | Yes |
| toCustomerId | StringNullableFilter | String | Null | Yes |
| toOrganizationId | StringNullableFilter | String | Null | Yes |
| saleId | StringNullableFilter | String | Null | Yes |
| action | EnumProductActionFilter | ProductAction | No |
| date | DateTimeFilter | DateTime | No |
| description | StringNullableFilter | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| serialNumber | String | No |
| currentStatus | ProductStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product | ProductCreateNestedOneWithoutInstancesInput | No |
| organization | OrganizationCreateNestedOneWithoutProduct_instancesInput | No |
| current_owner | OrganizationCustomerCreateNestedOneWithoutProduct_instancesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| serialNumber | String | No |
| currentOwnerId | String | Null | Yes |
| currentStatus | ProductStatus | No |
| organizationId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceWhereUniqueInput | No |
| create | ProductInstanceCreateWithoutTransactionsInput | ProductInstanceUncheckedCreateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | ProductInstanceUpdateWithoutTransactionsInput | ProductInstanceUncheckedUpdateWithoutTransactionsInput | No |
| create | ProductInstanceCreateWithoutTransactionsInput | ProductInstanceUncheckedCreateWithoutTransactionsInput | No |
| where | ProductInstanceWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductInstanceWhereInput | No |
| data | ProductInstanceUpdateWithoutTransactionsInput | ProductInstanceUncheckedUpdateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product | ProductUpdateOneRequiredWithoutInstancesNestedInput | No |
| organization | OrganizationUpdateOneRequiredWithoutProduct_instancesNestedInput | No |
| current_owner | OrganizationCustomerUpdateOneWithoutProduct_instancesNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentOwnerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProductsInput | No |
| brand | BrandCreateNestedOneWithoutProductsInput | No |
| categories | ProductCategoryCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemCreateNestedManyWithoutProductInput | No |
| stocks | StockCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| categories | ProductCategoryUncheckedCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceUncheckedCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceUncheckedCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemUncheckedCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemUncheckedCreateNestedManyWithoutProductInput | No |
| stocks | StockUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| create | ProductCreateWithoutProduct_batchesInput | ProductUncheckedCreateWithoutProduct_batchesInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | ProductUpdateWithoutProduct_batchesInput | ProductUncheckedUpdateWithoutProduct_batchesInput | No |
| create | ProductCreateWithoutProduct_batchesInput | ProductUncheckedCreateWithoutProduct_batchesInput | No |
| where | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereInput | No |
| data | ProductUpdateWithoutProduct_batchesInput | ProductUncheckedUpdateWithoutProduct_batchesInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutStocksInput | OrganizationUncheckedCreateWithoutStocksInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProductsInput | No |
| brand | BrandCreateNestedOneWithoutProductsInput | No |
| categories | ProductCategoryCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| categories | ProductCategoryUncheckedCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceUncheckedCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceUncheckedCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemUncheckedCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemUncheckedCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| create | ProductCreateWithoutStocksInput | ProductUncheckedCreateWithoutStocksInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutStocksInput | OrganizationUncheckedUpdateWithoutStocksInput | No |
| create | OrganizationCreateWithoutStocksInput | OrganizationUncheckedCreateWithoutStocksInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutStocksInput | OrganizationUncheckedUpdateWithoutStocksInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | ProductUpdateWithoutStocksInput | ProductUncheckedUpdateWithoutStocksInput | No |
| create | ProductCreateWithoutStocksInput | ProductUncheckedCreateWithoutStocksInput | No |
| where | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereInput | No |
| data | ProductUpdateWithoutStocksInput | ProductUncheckedUpdateWithoutStocksInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutKassasInput | OrganizationUncheckedCreateWithoutKassasInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutKassasInput | CurrencyUncheckedCreateWithoutKassasInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPaymentsInput | No |
| user | UserCreateNestedOneWithoutPaymentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutPaymentsInput | No |
| currency | CurrencyCreateNestedOneWithoutPaymentsInput | No |
| purchase | PurchaseCreateNestedOneWithoutPaymentsInput | No |
| sale | SaleCreateNestedOneWithoutPaymentsInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| create | PaymentCreateWithoutKassaInput | PaymentUncheckedCreateWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PaymentCreateManyKassaInput | PaymentCreateManyKassaInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPurchasesInput | No |
| supplier | OrganizationCustomerCreateNestedOneWithoutPurchasesInput | No |
| responsible | UserCreateNestedOneWithoutPurchasesInput | No |
| currency | CurrencyCreateNestedOneWithoutPurchasesInput | No |
| items | PurchaseItemCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| create | PurchaseCreateWithoutKassaInput | PurchaseUncheckedCreateWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PurchaseCreateManyKassaInput | PurchaseCreateManyKassaInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSalesInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutSalesInput | No |
| responsible | UserCreateNestedOneWithoutSalesInput | No |
| currency | CurrencyCreateNestedOneWithoutSalesInput | No |
| items | SaleItemCreateNestedManyWithoutSaleInput | No |
| payments | PaymentCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentCreateNestedManyWithoutSaleInput | No |
| documents | DocumentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | SaleItemUncheckedCreateNestedManyWithoutSaleInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutSaleInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| create | SaleCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | SaleCreateManyKassaInput | SaleCreateManyKassaInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassa_transfersInput | No |
| to_kassa | KassaCreateNestedOneWithoutIncoming_transfersInput | No |
| from_currency | CurrencyCreateNestedOneWithoutFrom_transfersInput | No |
| to_currency | CurrencyCreateNestedOneWithoutTo_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| create | KassaTransferCreateWithoutFrom_kassaInput | KassaTransferUncheckedCreateWithoutFrom_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | KassaTransferCreateManyFrom_kassaInput | KassaTransferCreateManyFrom_kassaInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassa_transfersInput | No |
| from_kassa | KassaCreateNestedOneWithoutOutgoing_transfersInput | No |
| from_currency | CurrencyCreateNestedOneWithoutFrom_transfersInput | No |
| to_currency | CurrencyCreateNestedOneWithoutTo_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| create | KassaTransferCreateWithoutTo_kassaInput | KassaTransferUncheckedCreateWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | KassaTransferCreateManyTo_kassaInput | KassaTransferCreateManyTo_kassaInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutKassasInput | OrganizationUncheckedUpdateWithoutKassasInput | No |
| create | OrganizationCreateWithoutKassasInput | OrganizationUncheckedCreateWithoutKassasInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutKassasInput | OrganizationUncheckedUpdateWithoutKassasInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutKassasInput | CurrencyUncheckedUpdateWithoutKassasInput | No |
| create | CurrencyCreateWithoutKassasInput | CurrencyUncheckedCreateWithoutKassasInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutKassasInput | CurrencyUncheckedUpdateWithoutKassasInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| update | PaymentUpdateWithoutKassaInput | PaymentUncheckedUpdateWithoutKassaInput | No |
| create | PaymentCreateWithoutKassaInput | PaymentUncheckedCreateWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| data | PaymentUpdateWithoutKassaInput | PaymentUncheckedUpdateWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentScalarWhereInput | No |
| data | PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| update | PurchaseUpdateWithoutKassaInput | PurchaseUncheckedUpdateWithoutKassaInput | No |
| create | PurchaseCreateWithoutKassaInput | PurchaseUncheckedCreateWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| data | PurchaseUpdateWithoutKassaInput | PurchaseUncheckedUpdateWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseScalarWhereInput | No |
| data | PurchaseUpdateManyMutationInput | PurchaseUncheckedUpdateManyWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| update | SaleUpdateWithoutKassaInput | SaleUncheckedUpdateWithoutKassaInput | No |
| create | SaleCreateWithoutKassaInput | SaleUncheckedCreateWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| data | SaleUpdateWithoutKassaInput | SaleUncheckedUpdateWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleScalarWhereInput | No |
| data | SaleUpdateManyMutationInput | SaleUncheckedUpdateManyWithoutKassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| update | KassaTransferUpdateWithoutFrom_kassaInput | KassaTransferUncheckedUpdateWithoutFrom_kassaInput | No |
| create | KassaTransferCreateWithoutFrom_kassaInput | KassaTransferUncheckedCreateWithoutFrom_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| data | KassaTransferUpdateWithoutFrom_kassaInput | KassaTransferUncheckedUpdateWithoutFrom_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferScalarWhereInput | No |
| data | KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutFrom_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| update | KassaTransferUpdateWithoutTo_kassaInput | KassaTransferUncheckedUpdateWithoutTo_kassaInput | No |
| create | KassaTransferCreateWithoutTo_kassaInput | KassaTransferUncheckedCreateWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferWhereUniqueInput | No |
| data | KassaTransferUpdateWithoutTo_kassaInput | KassaTransferUncheckedUpdateWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaTransferScalarWhereInput | No |
| data | KassaTransferUpdateManyMutationInput | KassaTransferUncheckedUpdateManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutKassa_transfersInput | OrganizationUncheckedCreateWithoutKassa_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassasInput | No |
| currency | CurrencyCreateNestedOneWithoutKassasInput | No |
| payments | PaymentCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseCreateNestedManyWithoutKassaInput | No |
| sales | SaleCreateNestedManyWithoutKassaInput | No |
| incoming_transfers | KassaTransferCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutKassaInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutKassaInput | No |
| incoming_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| create | KassaCreateWithoutOutgoing_transfersInput | KassaUncheckedCreateWithoutOutgoing_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassasInput | No |
| currency | CurrencyCreateNestedOneWithoutKassasInput | No |
| payments | PaymentCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseCreateNestedManyWithoutKassaInput | No |
| sales | SaleCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferCreateNestedManyWithoutFrom_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutKassaInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| create | KassaCreateWithoutIncoming_transfersInput | KassaUncheckedCreateWithoutIncoming_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutFrom_transfersInput | CurrencyUncheckedCreateWithoutFrom_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutTo_transfersInput | CurrencyUncheckedCreateWithoutTo_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutKassa_transfersInput | OrganizationUncheckedUpdateWithoutKassa_transfersInput | No |
| create | OrganizationCreateWithoutKassa_transfersInput | OrganizationUncheckedCreateWithoutKassa_transfersInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutKassa_transfersInput | OrganizationUncheckedUpdateWithoutKassa_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | KassaUpdateWithoutOutgoing_transfersInput | KassaUncheckedUpdateWithoutOutgoing_transfersInput | No |
| create | KassaCreateWithoutOutgoing_transfersInput | KassaUncheckedCreateWithoutOutgoing_transfersInput | No |
| where | KassaWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereInput | No |
| data | KassaUpdateWithoutOutgoing_transfersInput | KassaUncheckedUpdateWithoutOutgoing_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassasNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutKassasNestedInput | No |
| payments | PaymentUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUpdateManyWithoutKassaNestedInput | No |
| incoming_transfers | KassaTransferUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | PaymentUncheckedUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutKassaNestedInput | No |
| incoming_transfers | KassaTransferUncheckedUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | KassaUpdateWithoutIncoming_transfersInput | KassaUncheckedUpdateWithoutIncoming_transfersInput | No |
| create | KassaCreateWithoutIncoming_transfersInput | KassaUncheckedCreateWithoutIncoming_transfersInput | No |
| where | KassaWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereInput | No |
| data | KassaUpdateWithoutIncoming_transfersInput | KassaUncheckedUpdateWithoutIncoming_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassasNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutKassasNestedInput | No |
| payments | PaymentUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUpdateManyWithoutFrom_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | PaymentUncheckedUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutFrom_transfersInput | CurrencyUncheckedUpdateWithoutFrom_transfersInput | No |
| create | CurrencyCreateWithoutFrom_transfersInput | CurrencyUncheckedCreateWithoutFrom_transfersInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutFrom_transfersInput | CurrencyUncheckedUpdateWithoutFrom_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| to_transfers | KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutTo_transfersInput | CurrencyUncheckedUpdateWithoutTo_transfersInput | No |
| create | CurrencyCreateWithoutTo_transfersInput | CurrencyUncheckedCreateWithoutTo_transfersInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutTo_transfersInput | CurrencyUncheckedUpdateWithoutTo_transfersInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput | No |
| settings | SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutPaymentsInput | OrganizationUncheckedCreateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutPaymentsInput | UserUncheckedCreateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutCustomersInput | No |
| user | UserCreateNestedOneWithoutCutomer_linksInput | No |
| product_instances | ProductInstanceCreateNestedManyWithoutCurrent_ownerInput | No |
| transactions | TransactionCreateNestedManyWithoutCustomerInput | No |
| sales | SaleCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_instances | ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCustomerInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| create | OrganizationCustomerCreateWithoutPaymentsInput | OrganizationCustomerUncheckedCreateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassasInput | No |
| currency | CurrencyCreateNestedOneWithoutKassasInput | No |
| purchases | PurchaseCreateNestedManyWithoutKassaInput | No |
| sales | SaleCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutKassaInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| create | KassaCreateWithoutPaymentsInput | KassaUncheckedCreateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutPaymentsInput | CurrencyUncheckedCreateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPurchasesInput | No |
| supplier | OrganizationCustomerCreateNestedOneWithoutPurchasesInput | No |
| responsible | UserCreateNestedOneWithoutPurchasesInput | No |
| currency | CurrencyCreateNestedOneWithoutPurchasesInput | No |
| kassa | KassaCreateNestedOneWithoutPurchasesInput | No |
| items | PurchaseItemCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | PurchaseItemUncheckedCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| create | PurchaseCreateWithoutPaymentsInput | PurchaseUncheckedCreateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSalesInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutSalesInput | No |
| responsible | UserCreateNestedOneWithoutSalesInput | No |
| currency | CurrencyCreateNestedOneWithoutSalesInput | No |
| kassa | KassaCreateNestedOneWithoutSalesInput | No |
| items | SaleItemCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentCreateNestedManyWithoutSaleInput | No |
| documents | DocumentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | SaleItemUncheckedCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutSaleInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| create | SaleCreateWithoutPaymentsInput | SaleUncheckedCreateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| installment | InstallmentCreateNestedOneWithoutPaymentsInput | No |
| created_by | UserCreateNestedOneWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| installmentId | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| createdById | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | No |
| create | InstallmentPaymentCreateWithoutPaymentInput | InstallmentPaymentUncheckedCreateWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | InstallmentPaymentCreateManyPaymentInput | InstallmentPaymentCreateManyPaymentInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutPaymentsInput | OrganizationUncheckedUpdateWithoutPaymentsInput | No |
| create | OrganizationCreateWithoutPaymentsInput | OrganizationUncheckedCreateWithoutPaymentsInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutPaymentsInput | OrganizationUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutPaymentsInput | UserUncheckedUpdateWithoutPaymentsInput | No |
| create | UserCreateWithoutPaymentsInput | UserUncheckedCreateWithoutPaymentsInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutPaymentsInput | UserUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| data | OrganizationCustomerUpdateWithoutPaymentsInput | OrganizationCustomerUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | KassaUpdateWithoutPaymentsInput | KassaUncheckedUpdateWithoutPaymentsInput | No |
| create | KassaCreateWithoutPaymentsInput | KassaUncheckedCreateWithoutPaymentsInput | No |
| where | KassaWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereInput | No |
| data | KassaUpdateWithoutPaymentsInput | KassaUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassasNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutKassasNestedInput | No |
| purchases | PurchaseUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUncheckedUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutPaymentsInput | CurrencyUncheckedUpdateWithoutPaymentsInput | No |
| create | CurrencyCreateWithoutPaymentsInput | CurrencyUncheckedCreateWithoutPaymentsInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutPaymentsInput | CurrencyUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | PurchaseUpdateWithoutPaymentsInput | PurchaseUncheckedUpdateWithoutPaymentsInput | No |
| create | PurchaseCreateWithoutPaymentsInput | PurchaseUncheckedCreateWithoutPaymentsInput | No |
| where | PurchaseWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereInput | No |
| data | PurchaseUpdateWithoutPaymentsInput | PurchaseUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPurchasesNestedInput | No |
| supplier | OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput | No |
| responsible | UserUpdateOneWithoutPurchasesNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPurchasesNestedInput | No |
| kassa | KassaUpdateOneWithoutPurchasesNestedInput | No |
| items | PurchaseItemUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| items | PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | SaleUpdateWithoutPaymentsInput | SaleUncheckedUpdateWithoutPaymentsInput | No |
| create | SaleCreateWithoutPaymentsInput | SaleUncheckedCreateWithoutPaymentsInput | No |
| where | SaleWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereInput | No |
| data | SaleUpdateWithoutPaymentsInput | SaleUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | No |
| update | InstallmentPaymentUpdateWithoutPaymentInput | InstallmentPaymentUncheckedUpdateWithoutPaymentInput | No |
| create | InstallmentPaymentCreateWithoutPaymentInput | InstallmentPaymentUncheckedCreateWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | No |
| data | InstallmentPaymentUpdateWithoutPaymentInput | InstallmentPaymentUncheckedUpdateWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentScalarWhereInput | No |
| data | InstallmentPaymentUpdateManyMutationInput | InstallmentPaymentUncheckedUpdateManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutTransactionsInput | OrganizationUncheckedCreateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutCustomersInput | No |
| user | UserCreateNestedOneWithoutCutomer_linksInput | No |
| product_instances | ProductInstanceCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentCreateNestedManyWithoutCustomerInput | No |
| sales | SaleCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_instances | ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCustomerInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| create | OrganizationCustomerCreateWithoutTransactionsInput | OrganizationCustomerUncheckedCreateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutTransactionsInput | CurrencyUncheckedCreateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutTransactionsInput | OrganizationUncheckedUpdateWithoutTransactionsInput | No |
| create | OrganizationCreateWithoutTransactionsInput | OrganizationUncheckedCreateWithoutTransactionsInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutTransactionsInput | OrganizationUncheckedUpdateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| data | OrganizationCustomerUpdateWithoutTransactionsInput | OrganizationCustomerUncheckedUpdateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutTransactionsInput | CurrencyUncheckedUpdateWithoutTransactionsInput | No |
| create | CurrencyCreateWithoutTransactionsInput | CurrencyUncheckedCreateWithoutTransactionsInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutTransactionsInput | CurrencyUncheckedUpdateWithoutTransactionsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutSalesInput | OrganizationUncheckedCreateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutCustomersInput | No |
| user | UserCreateNestedOneWithoutCutomer_linksInput | No |
| product_instances | ProductInstanceCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_instances | ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| create | OrganizationCustomerCreateWithoutSalesInput | OrganizationCustomerUncheckedCreateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutSalesInput | UserUncheckedCreateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutSalesInput | CurrencyUncheckedCreateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassasInput | No |
| currency | CurrencyCreateNestedOneWithoutKassasInput | No |
| payments | PaymentCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutKassaInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| create | KassaCreateWithoutSalesInput | KassaUncheckedCreateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| product | ProductCreateNestedOneWithoutSele_itemsInput | No |
| currency | CurrencyCreateNestedOneWithoutSale_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| currencyId | String | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemWhereUniqueInput | No |
| create | SaleItemCreateWithoutSaleInput | SaleItemUncheckedCreateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | SaleItemCreateManySaleInput | SaleItemCreateManySaleInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPaymentsInput | No |
| user | UserCreateNestedOneWithoutPaymentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutPaymentsInput | No |
| kassa | KassaCreateNestedOneWithoutPaymentsInput | No |
| currency | CurrencyCreateNestedOneWithoutPaymentsInput | No |
| purchase | PurchaseCreateNestedOneWithoutPaymentsInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| createdAt | DateTime | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| create | PaymentCreateWithoutSaleInput | PaymentUncheckedCreateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PaymentCreateManySaleInput | PaymentCreateManySaleInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| customer | OrganizationCustomerCreateNestedOneWithoutInstallmentsInput | No |
| payments | InstallmentPaymentCreateNestedManyWithoutInstallmentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| customerId | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | InstallmentPaymentUncheckedCreateNestedManyWithoutInstallmentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentWhereUniqueInput | No |
| create | InstallmentCreateWithoutSaleInput | InstallmentUncheckedCreateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | InstallmentCreateManySaleInput | InstallmentCreateManySaleInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| type | DocumentType | No |
| fileUrl | String | No |
| createdAt | DateTime | No |
| uploadedBy | UserCreateNestedOneWithoutDocumentsInput | No |
| organization | OrganizationCreateNestedOneWithoutDocumentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| create | DocumentCreateWithoutSaleInput | DocumentUncheckedCreateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | DocumentCreateManySaleInput | DocumentCreateManySaleInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutSalesInput | OrganizationUncheckedUpdateWithoutSalesInput | No |
| create | OrganizationCreateWithoutSalesInput | OrganizationUncheckedCreateWithoutSalesInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutSalesInput | OrganizationUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationCustomerUpdateWithoutSalesInput | OrganizationCustomerUncheckedUpdateWithoutSalesInput | No |
| create | OrganizationCustomerCreateWithoutSalesInput | OrganizationCustomerUncheckedCreateWithoutSalesInput | No |
| where | OrganizationCustomerWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| data | OrganizationCustomerUpdateWithoutSalesInput | OrganizationCustomerUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutSalesInput | UserUncheckedUpdateWithoutSalesInput | No |
| create | UserCreateWithoutSalesInput | UserUncheckedCreateWithoutSalesInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutSalesInput | UserUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutSalesInput | CurrencyUncheckedUpdateWithoutSalesInput | No |
| create | CurrencyCreateWithoutSalesInput | CurrencyUncheckedCreateWithoutSalesInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutSalesInput | CurrencyUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | KassaUpdateWithoutSalesInput | KassaUncheckedUpdateWithoutSalesInput | No |
| create | KassaCreateWithoutSalesInput | KassaUncheckedCreateWithoutSalesInput | No |
| where | KassaWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereInput | No |
| data | KassaUpdateWithoutSalesInput | KassaUncheckedUpdateWithoutSalesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassasNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutKassasNestedInput | No |
| payments | PaymentUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | PaymentUncheckedUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUncheckedUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemWhereUniqueInput | No |
| update | SaleItemUpdateWithoutSaleInput | SaleItemUncheckedUpdateWithoutSaleInput | No |
| create | SaleItemCreateWithoutSaleInput | SaleItemUncheckedCreateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemWhereUniqueInput | No |
| data | SaleItemUpdateWithoutSaleInput | SaleItemUncheckedUpdateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleItemScalarWhereInput | No |
| data | SaleItemUpdateManyMutationInput | SaleItemUncheckedUpdateManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| update | PaymentUpdateWithoutSaleInput | PaymentUncheckedUpdateWithoutSaleInput | No |
| create | PaymentCreateWithoutSaleInput | PaymentUncheckedCreateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| data | PaymentUpdateWithoutSaleInput | PaymentUncheckedUpdateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentScalarWhereInput | No |
| data | PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentWhereUniqueInput | No |
| update | InstallmentUpdateWithoutSaleInput | InstallmentUncheckedUpdateWithoutSaleInput | No |
| create | InstallmentCreateWithoutSaleInput | InstallmentUncheckedCreateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentWhereUniqueInput | No |
| data | InstallmentUpdateWithoutSaleInput | InstallmentUncheckedUpdateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentScalarWhereInput | No |
| data | InstallmentUpdateManyMutationInput | InstallmentUncheckedUpdateManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| update | DocumentUpdateWithoutSaleInput | DocumentUncheckedUpdateWithoutSaleInput | No |
| create | DocumentCreateWithoutSaleInput | DocumentUncheckedCreateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentWhereUniqueInput | No |
| data | DocumentUpdateWithoutSaleInput | DocumentUncheckedUpdateWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | DocumentScalarWhereInput | No |
| data | DocumentUpdateManyMutationInput | DocumentUncheckedUpdateManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSalesInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutSalesInput | No |
| responsible | UserCreateNestedOneWithoutSalesInput | No |
| currency | CurrencyCreateNestedOneWithoutSalesInput | No |
| kassa | KassaCreateNestedOneWithoutSalesInput | No |
| payments | PaymentCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentCreateNestedManyWithoutSaleInput | No |
| documents | DocumentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutSaleInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| create | SaleCreateWithoutItemsInput | SaleUncheckedCreateWithoutItemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProductsInput | No |
| brand | BrandCreateNestedOneWithoutProductsInput | No |
| categories | ProductCategoryCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemCreateNestedManyWithoutProductInput | No |
| stocks | StockCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| categories | ProductCategoryUncheckedCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceUncheckedCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceUncheckedCreateNestedManyWithoutProductInput | No |
| purchase_items | PurchaseItemUncheckedCreateNestedManyWithoutProductInput | No |
| stocks | StockUncheckedCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| create | ProductCreateWithoutSele_itemsInput | ProductUncheckedCreateWithoutSele_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutSale_itemsInput | CurrencyUncheckedCreateWithoutSale_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | SaleUpdateWithoutItemsInput | SaleUncheckedUpdateWithoutItemsInput | No |
| create | SaleCreateWithoutItemsInput | SaleUncheckedCreateWithoutItemsInput | No |
| where | SaleWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereInput | No |
| data | SaleUpdateWithoutItemsInput | SaleUncheckedUpdateWithoutItemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | ProductUpdateWithoutSele_itemsInput | ProductUncheckedUpdateWithoutSele_itemsInput | No |
| create | ProductCreateWithoutSele_itemsInput | ProductUncheckedCreateWithoutSele_itemsInput | No |
| where | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereInput | No |
| data | ProductUpdateWithoutSele_itemsInput | ProductUncheckedUpdateWithoutSele_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutSale_itemsInput | CurrencyUncheckedUpdateWithoutSale_itemsInput | No |
| create | CurrencyCreateWithoutSale_itemsInput | CurrencyUncheckedCreateWithoutSale_itemsInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutSale_itemsInput | CurrencyUncheckedUpdateWithoutSale_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutPurchasesInput | OrganizationUncheckedCreateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutCustomersInput | No |
| user | UserCreateNestedOneWithoutCutomer_linksInput | No |
| product_instances | ProductInstanceCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionCreateNestedManyWithoutCustomerInput | No |
| sales | SaleCreateNestedManyWithoutCustomerInput | No |
| installments | InstallmentCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_instances | ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCustomerInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCustomerInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutCustomerInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| create | OrganizationCustomerCreateWithoutPurchasesInput | OrganizationCustomerUncheckedCreateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutPurchasesInput | UserUncheckedCreateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| settings | SettingsUncheckedCreateNestedManyWithoutBaseCurrencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutPurchasesInput | CurrencyUncheckedCreateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutKassasInput | No |
| currency | CurrencyCreateNestedOneWithoutKassasInput | No |
| payments | PaymentCreateNestedManyWithoutKassaInput | No |
| sales | SaleCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutKassaInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutKassaInput | No |
| outgoing_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_kassaInput | No |
| incoming_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_kassaInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereUniqueInput | No |
| create | KassaCreateWithoutPurchasesInput | KassaUncheckedCreateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| product | ProductCreateNestedOneWithoutPurchase_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseItemWhereUniqueInput | No |
| create | PurchaseItemCreateWithoutPurchaseInput | PurchaseItemUncheckedCreateWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PurchaseItemCreateManyPurchaseInput | PurchaseItemCreateManyPurchaseInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPaymentsInput | No |
| user | UserCreateNestedOneWithoutPaymentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutPaymentsInput | No |
| kassa | KassaCreateNestedOneWithoutPaymentsInput | No |
| currency | CurrencyCreateNestedOneWithoutPaymentsInput | No |
| sale | SaleCreateNestedOneWithoutPaymentsInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutPaymentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| create | PaymentCreateWithoutPurchaseInput | PaymentUncheckedCreateWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | PaymentCreateManyPurchaseInput | PaymentCreateManyPurchaseInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutPurchasesInput | OrganizationUncheckedUpdateWithoutPurchasesInput | No |
| create | OrganizationCreateWithoutPurchasesInput | OrganizationUncheckedCreateWithoutPurchasesInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutPurchasesInput | OrganizationUncheckedUpdateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| data | OrganizationCustomerUpdateWithoutPurchasesInput | OrganizationCustomerUncheckedUpdateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutPurchasesInput | UserUncheckedUpdateWithoutPurchasesInput | No |
| create | UserCreateWithoutPurchasesInput | UserUncheckedCreateWithoutPurchasesInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutPurchasesInput | UserUncheckedUpdateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutPurchasesInput | CurrencyUncheckedUpdateWithoutPurchasesInput | No |
| create | CurrencyCreateWithoutPurchasesInput | CurrencyUncheckedCreateWithoutPurchasesInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutPurchasesInput | CurrencyUncheckedUpdateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput | No |
| settings | SettingsUncheckedUpdateManyWithoutBaseCurrencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | KassaUpdateWithoutPurchasesInput | KassaUncheckedUpdateWithoutPurchasesInput | No |
| create | KassaCreateWithoutPurchasesInput | KassaUncheckedCreateWithoutPurchasesInput | No |
| where | KassaWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | KassaWhereInput | No |
| data | KassaUpdateWithoutPurchasesInput | KassaUncheckedUpdateWithoutPurchasesInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassasNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutKassasNestedInput | No |
| payments | PaymentUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | PaymentUncheckedUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUncheckedUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseItemWhereUniqueInput | No |
| update | PurchaseItemUpdateWithoutPurchaseInput | PurchaseItemUncheckedUpdateWithoutPurchaseInput | No |
| create | PurchaseItemCreateWithoutPurchaseInput | PurchaseItemUncheckedCreateWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseItemWhereUniqueInput | No |
| data | PurchaseItemUpdateWithoutPurchaseInput | PurchaseItemUncheckedUpdateWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseItemScalarWhereInput | No |
| data | PurchaseItemUpdateManyMutationInput | PurchaseItemUncheckedUpdateManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| update | PaymentUpdateWithoutPurchaseInput | PaymentUncheckedUpdateWithoutPurchaseInput | No |
| create | PaymentCreateWithoutPurchaseInput | PaymentUncheckedCreateWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| data | PaymentUpdateWithoutPurchaseInput | PaymentUncheckedUpdateWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentScalarWhereInput | No |
| data | PaymentUpdateManyMutationInput | PaymentUncheckedUpdateManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPurchasesInput | No |
| supplier | OrganizationCustomerCreateNestedOneWithoutPurchasesInput | No |
| responsible | UserCreateNestedOneWithoutPurchasesInput | No |
| currency | CurrencyCreateNestedOneWithoutPurchasesInput | No |
| kassa | KassaCreateNestedOneWithoutPurchasesInput | No |
| payments | PaymentCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| payments | PaymentUncheckedCreateNestedManyWithoutPurchaseInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereUniqueInput | No |
| create | PurchaseCreateWithoutItemsInput | PurchaseUncheckedCreateWithoutItemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutProductsInput | No |
| brand | BrandCreateNestedOneWithoutProductsInput | No |
| categories | ProductCategoryCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemCreateNestedManyWithoutProductInput | No |
| stocks | StockCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| categories | ProductCategoryUncheckedCreateNestedManyWithoutProductInput | No |
| prices | ProductPriceUncheckedCreateNestedManyWithoutProductInput | No |
| instances | ProductInstanceUncheckedCreateNestedManyWithoutProductInput | No |
| sele_items | SaleItemUncheckedCreateNestedManyWithoutProductInput | No |
| stocks | StockUncheckedCreateNestedManyWithoutProductInput | No |
| product_batches | ProductBatchUncheckedCreateNestedManyWithoutProductInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereUniqueInput | No |
| create | ProductCreateWithoutPurchase_itemsInput | ProductUncheckedCreateWithoutPurchase_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | PurchaseUpdateWithoutItemsInput | PurchaseUncheckedUpdateWithoutItemsInput | No |
| create | PurchaseCreateWithoutItemsInput | PurchaseUncheckedCreateWithoutItemsInput | No |
| where | PurchaseWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PurchaseWhereInput | No |
| data | PurchaseUpdateWithoutItemsInput | PurchaseUncheckedUpdateWithoutItemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPurchasesNestedInput | No |
| supplier | OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput | No |
| responsible | UserUpdateOneWithoutPurchasesNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPurchasesNestedInput | No |
| kassa | KassaUpdateOneWithoutPurchasesNestedInput | No |
| payments | PaymentUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | PaymentUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | ProductUpdateWithoutPurchase_itemsInput | ProductUncheckedUpdateWithoutPurchase_itemsInput | No |
| create | ProductCreateWithoutPurchase_itemsInput | ProductUncheckedCreateWithoutPurchase_itemsInput | No |
| where | ProductWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | ProductWhereInput | No |
| data | ProductUpdateWithoutPurchase_itemsInput | ProductUncheckedUpdateWithoutPurchase_itemsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSalesInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutSalesInput | No |
| responsible | UserCreateNestedOneWithoutSalesInput | No |
| currency | CurrencyCreateNestedOneWithoutSalesInput | No |
| kassa | KassaCreateNestedOneWithoutSalesInput | No |
| items | SaleItemCreateNestedManyWithoutSaleInput | No |
| payments | PaymentCreateNestedManyWithoutSaleInput | No |
| documents | DocumentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | SaleItemUncheckedCreateNestedManyWithoutSaleInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutSaleInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| create | SaleCreateWithoutInstallmentsInput | SaleUncheckedCreateWithoutInstallmentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutCustomersInput | No |
| user | UserCreateNestedOneWithoutCutomer_linksInput | No |
| product_instances | ProductInstanceCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionCreateNestedManyWithoutCustomerInput | No |
| sales | SaleCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseCreateNestedManyWithoutSupplierInput | No |
| documents | DocumentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_instances | ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCustomerInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutSupplierInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| create | OrganizationCustomerCreateWithoutInstallmentsInput | OrganizationCustomerUncheckedCreateWithoutInstallmentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| created_by | UserCreateNestedOneWithoutInstallment_paymentsInput | No |
| payment | PaymentCreateNestedOneWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| createdById | String | Null | Yes |
| paymentId | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | No |
| create | InstallmentPaymentCreateWithoutInstallmentInput | InstallmentPaymentUncheckedCreateWithoutInstallmentInput | No |
| Name | Type | Nullable |
|---|---|---|
| data | InstallmentPaymentCreateManyInstallmentInput | InstallmentPaymentCreateManyInstallmentInput[] | No |
| skipDuplicates | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| update | SaleUpdateWithoutInstallmentsInput | SaleUncheckedUpdateWithoutInstallmentsInput | No |
| create | SaleCreateWithoutInstallmentsInput | SaleUncheckedCreateWithoutInstallmentsInput | No |
| where | SaleWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereInput | No |
| data | SaleUpdateWithoutInstallmentsInput | SaleUncheckedUpdateWithoutInstallmentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| data | OrganizationCustomerUpdateWithoutInstallmentsInput | OrganizationCustomerUncheckedUpdateWithoutInstallmentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentWhereUniqueInput | No |
| data | InstallmentPaymentUpdateWithoutInstallmentInput | InstallmentPaymentUncheckedUpdateWithoutInstallmentInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentPaymentScalarWhereInput | No |
| data | InstallmentPaymentUpdateManyMutationInput | InstallmentPaymentUncheckedUpdateManyWithoutInstallmentInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| sale | SaleCreateNestedOneWithoutInstallmentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutInstallmentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| customerId | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentWhereUniqueInput | No |
| create | InstallmentCreateWithoutPaymentsInput | InstallmentUncheckedCreateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutInstallment_paymentsInput | UserUncheckedCreateWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutPaymentsInput | No |
| user | UserCreateNestedOneWithoutPaymentsInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutPaymentsInput | No |
| kassa | KassaCreateNestedOneWithoutPaymentsInput | No |
| currency | CurrencyCreateNestedOneWithoutPaymentsInput | No |
| purchase | PurchaseCreateNestedOneWithoutPaymentsInput | No |
| sale | SaleCreateNestedOneWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereUniqueInput | No |
| create | PaymentCreateWithoutInstallment_paymentsInput | PaymentUncheckedCreateWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | InstallmentUpdateWithoutPaymentsInput | InstallmentUncheckedUpdateWithoutPaymentsInput | No |
| create | InstallmentCreateWithoutPaymentsInput | InstallmentUncheckedCreateWithoutPaymentsInput | No |
| where | InstallmentWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | InstallmentWhereInput | No |
| data | InstallmentUpdateWithoutPaymentsInput | InstallmentUncheckedUpdateWithoutPaymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| sale | SaleUpdateOneRequiredWithoutInstallmentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneRequiredWithoutInstallmentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutInstallment_paymentsInput | UserUncheckedUpdateWithoutInstallment_paymentsInput | No |
| create | UserCreateWithoutInstallment_paymentsInput | UserUncheckedCreateWithoutInstallment_paymentsInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutInstallment_paymentsInput | UserUncheckedUpdateWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | PaymentUpdateWithoutInstallment_paymentsInput | PaymentUncheckedUpdateWithoutInstallment_paymentsInput | No |
| create | PaymentCreateWithoutInstallment_paymentsInput | PaymentUncheckedCreateWithoutInstallment_paymentsInput | No |
| where | PaymentWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | PaymentWhereInput | No |
| data | PaymentUpdateWithoutInstallment_paymentsInput | PaymentUncheckedUpdateWithoutInstallment_paymentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPaymentsNestedInput | No |
| user | UserUpdateOneWithoutPaymentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutPaymentsNestedInput | No |
| kassa | KassaUpdateOneRequiredWithoutPaymentsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPaymentsNestedInput | No |
| purchase | PurchaseUpdateOneWithoutPaymentsNestedInput | No |
| sale | SaleUpdateOneWithoutPaymentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogCreateNestedManyWithoutUserInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| audit_logs | AuditLogUncheckedCreateNestedManyWithoutUserInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutDocumentsInput | UserUncheckedCreateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutDocumentsInput | OrganizationUncheckedCreateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutCustomersInput | No |
| user | UserCreateNestedOneWithoutCutomer_linksInput | No |
| product_instances | ProductInstanceCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionCreateNestedManyWithoutCustomerInput | No |
| sales | SaleCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_instances | ProductInstanceUncheckedCreateNestedManyWithoutCurrent_ownerInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCustomerInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCustomerInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCustomerInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutSupplierInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutCustomerInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereUniqueInput | No |
| create | OrganizationCustomerCreateWithoutDocumentsInput | OrganizationCustomerUncheckedCreateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| organization | OrganizationCreateNestedOneWithoutSalesInput | No |
| customer | OrganizationCustomerCreateNestedOneWithoutSalesInput | No |
| responsible | UserCreateNestedOneWithoutSalesInput | No |
| currency | CurrencyCreateNestedOneWithoutSalesInput | No |
| kassa | KassaCreateNestedOneWithoutSalesInput | No |
| items | SaleItemCreateNestedManyWithoutSaleInput | No |
| payments | PaymentCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| items | SaleItemUncheckedCreateNestedManyWithoutSaleInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutSaleInput | No |
| installments | InstallmentUncheckedCreateNestedManyWithoutSaleInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereUniqueInput | No |
| create | SaleCreateWithoutDocumentsInput | SaleUncheckedCreateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutDocumentsInput | UserUncheckedUpdateWithoutDocumentsInput | No |
| create | UserCreateWithoutDocumentsInput | UserUncheckedCreateWithoutDocumentsInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutDocumentsInput | UserUncheckedUpdateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutDocumentsInput | OrganizationUncheckedUpdateWithoutDocumentsInput | No |
| create | OrganizationCreateWithoutDocumentsInput | OrganizationUncheckedCreateWithoutDocumentsInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutDocumentsInput | OrganizationUncheckedUpdateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationCustomerWhereInput | No |
| data | OrganizationCustomerUpdateWithoutDocumentsInput | OrganizationCustomerUncheckedUpdateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | SaleUpdateWithoutDocumentsInput | SaleUncheckedUpdateWithoutDocumentsInput | No |
| create | SaleCreateWithoutDocumentsInput | SaleUncheckedCreateWithoutDocumentsInput | No |
| where | SaleWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | SaleWhereInput | No |
| data | SaleUpdateWithoutDocumentsInput | SaleUncheckedUpdateWithoutDocumentsInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutSettingsInput | OrganizationUncheckedCreateWithoutSettingsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferCreateNestedManyWithoutTo_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| product_prices | ProductPriceUncheckedCreateNestedManyWithoutCurrencyInput | No |
| kassas | KassaUncheckedCreateNestedManyWithoutCurrencyInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutCurrencyInput | No |
| transactions | TransactionUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutCurrencyInput | No |
| sale_items | SaleItemUncheckedCreateNestedManyWithoutCurrencyInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutCurrencyInput | No |
| from_transfers | KassaTransferUncheckedCreateNestedManyWithoutFrom_currencyInput | No |
| to_transfers | KassaTransferUncheckedCreateNestedManyWithoutTo_currencyInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereUniqueInput | No |
| create | CurrencyCreateWithoutSettingsInput | CurrencyUncheckedCreateWithoutSettingsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutSettingsInput | OrganizationUncheckedUpdateWithoutSettingsInput | No |
| create | OrganizationCreateWithoutSettingsInput | OrganizationUncheckedCreateWithoutSettingsInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutSettingsInput | OrganizationUncheckedUpdateWithoutSettingsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | CurrencyUpdateWithoutSettingsInput | CurrencyUncheckedUpdateWithoutSettingsInput | No |
| create | CurrencyCreateWithoutSettingsInput | CurrencyUncheckedCreateWithoutSettingsInput | No |
| where | CurrencyWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | CurrencyWhereInput | No |
| data | CurrencyUpdateWithoutSettingsInput | CurrencyUncheckedUpdateWithoutSettingsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUpdateManyWithoutTo_currencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| code | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| symbol | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product_prices | ProductPriceUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| kassas | KassaUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| transactions | TransactionUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| sale_items | SaleItemUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutCurrencyNestedInput | No |
| from_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_currencyNestedInput | No |
| to_transfers | KassaTransferUncheckedUpdateManyWithoutTo_currencyNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereUniqueInput | No |
| create | OrganizationCreateWithoutAudit_logsInput | OrganizationUncheckedCreateWithoutAudit_logsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| profile | UserProfileCreateNestedOneWithoutUserInput | No |
| role | RoleCreateNestedOneWithoutUsersInput | No |
| org_links | OrganizationUserCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerCreateNestedManyWithoutUserInput | No |
| payments | PaymentCreateNestedManyWithoutUserInput | No |
| sales | SaleCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneCreateNestedManyWithoutUserInput | No |
| documents | DocumentCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | Null | Yes |
| profile | UserProfileUncheckedCreateNestedOneWithoutUserInput | No |
| org_links | OrganizationUserUncheckedCreateNestedManyWithoutUserInput | No |
| cutomer_links | OrganizationCustomerUncheckedCreateNestedManyWithoutUserInput | No |
| payments | PaymentUncheckedCreateNestedManyWithoutUserInput | No |
| sales | SaleUncheckedCreateNestedManyWithoutResponsibleInput | No |
| purchases | PurchaseUncheckedCreateNestedManyWithoutResponsibleInput | No |
| phone_numbers | UserPhoneUncheckedCreateNestedManyWithoutUserInput | No |
| documents | DocumentUncheckedCreateNestedManyWithoutUploadedByInput | No |
| installment_payments | InstallmentPaymentUncheckedCreateNestedManyWithoutCreated_byInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereUniqueInput | No |
| create | UserCreateWithoutAudit_logsInput | UserUncheckedCreateWithoutAudit_logsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | OrganizationUpdateWithoutAudit_logsInput | OrganizationUncheckedUpdateWithoutAudit_logsInput | No |
| create | OrganizationCreateWithoutAudit_logsInput | OrganizationUncheckedCreateWithoutAudit_logsInput | No |
| where | OrganizationWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | OrganizationWhereInput | No |
| data | OrganizationUpdateWithoutAudit_logsInput | OrganizationUncheckedUpdateWithoutAudit_logsInput | No |
| Name | Type | Nullable |
|---|---|---|
| update | UserUpdateWithoutAudit_logsInput | UserUncheckedUpdateWithoutAudit_logsInput | No |
| create | UserCreateWithoutAudit_logsInput | UserUncheckedCreateWithoutAudit_logsInput | No |
| where | UserWhereInput | No |
| Name | Type | Nullable |
|---|---|---|
| where | UserWhereInput | No |
| data | UserUpdateWithoutAudit_logsInput | UserUncheckedUpdateWithoutAudit_logsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| role | RoleUpdateOneWithoutUsersNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| organizationId | String | Null | Yes |
| priceType | PriceType | No |
| amount | Decimal | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| language | String | Null | Yes |
| dateFormat | String | Null | Yes |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | Null | Yes |
| logoUrl | String | Null | Yes |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product | ProductUpdateOneRequiredWithoutPricesNestedInput | No |
| organization | OrganizationUpdateOneWithoutProduct_pricesNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassasNestedInput | No |
| payments | PaymentUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | PaymentUncheckedUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUncheckedUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPaymentsNestedInput | No |
| user | UserUpdateOneWithoutPaymentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutPaymentsNestedInput | No |
| kassa | KassaUpdateOneRequiredWithoutPaymentsNestedInput | No |
| purchase | PurchaseUpdateOneWithoutPaymentsNestedInput | No |
| sale | SaleUpdateOneWithoutPaymentsNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| installment_payments | InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| organization | OrganizationUpdateOneRequiredWithoutTransactionsNestedInput | No |
| customer | OrganizationCustomerUpdateOneRequiredWithoutTransactionsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| responsibleId | String | StringFieldUpdateOperationsInput | No |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | StringFieldUpdateOperationsInput | No |
| saleDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | SaleStatus | EnumSaleStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| sale | SaleUpdateOneRequiredWithoutItemsNestedInput | No |
| product | ProductUpdateOneRequiredWithoutSele_itemsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPurchasesNestedInput | No |
| supplier | OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput | No |
| responsible | UserUpdateOneWithoutPurchasesNestedInput | No |
| kassa | KassaUpdateOneWithoutPurchasesNestedInput | No |
| items | PurchaseItemUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| items | PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassa_transfersNestedInput | No |
| from_kassa | KassaUpdateOneRequiredWithoutOutgoing_transfersNestedInput | No |
| to_kassa | KassaUpdateOneRequiredWithoutIncoming_transfersNestedInput | No |
| to_currency | CurrencyUpdateOneRequiredWithoutTo_transfersNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassa_transfersNestedInput | No |
| from_kassa | KassaUpdateOneRequiredWithoutOutgoing_transfersNestedInput | No |
| to_kassa | KassaUpdateOneRequiredWithoutIncoming_transfersNestedInput | No |
| from_currency | CurrencyUpdateOneRequiredWithoutFrom_transfersNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| language | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| dateFormat | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| enableInstallment | Boolean | BoolFieldUpdateOperationsInput | No |
| enableNotifications | Boolean | BoolFieldUpdateOperationsInput | No |
| enableAutoRateUpdate | Boolean | BoolFieldUpdateOperationsInput | No |
| taxPercent | Decimal | NullableDecimalFieldUpdateOperationsInput | Null | Yes |
| logoUrl | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| theme | ThemeType | EnumThemeTypeFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutSettingsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| language | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| dateFormat | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| enableInstallment | Boolean | BoolFieldUpdateOperationsInput | No |
| enableNotifications | Boolean | BoolFieldUpdateOperationsInput | No |
| enableAutoRateUpdate | Boolean | BoolFieldUpdateOperationsInput | No |
| taxPercent | Decimal | NullableDecimalFieldUpdateOperationsInput | Null | Yes |
| logoUrl | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| theme | ThemeType | EnumThemeTypeFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| language | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| dateFormat | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| enableInstallment | Boolean | BoolFieldUpdateOperationsInput | No |
| enableNotifications | Boolean | BoolFieldUpdateOperationsInput | No |
| enableAutoRateUpdate | Boolean | BoolFieldUpdateOperationsInput | No |
| taxPercent | Decimal | NullableDecimalFieldUpdateOperationsInput | Null | Yes |
| logoUrl | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| theme | ThemeType | EnumThemeTypeFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| role | OrgUserRole | No |
| position | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | Null | Yes |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| brandId | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| priceType | PriceType | No |
| amount | Decimal | No |
| currencyId | String | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| serialNumber | String | No |
| currentOwnerId | String | Null | Yes |
| currentStatus | ProductStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| customerId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| currencyId | String | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | Null | Yes |
| action | String | No |
| entity | String | No |
| entityId | String | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| customerId | String | Null | Yes |
| saleId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| user | UserUpdateOneRequiredWithoutOrg_linksNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| userId | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| userId | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| firstName | String | StringFieldUpdateOperationsInput | No |
| lastName | String | StringFieldUpdateOperationsInput | No |
| patronymic | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| phone | String | StringFieldUpdateOperationsInput | No |
| type | CustomerType | EnumCustomerTypeFieldUpdateOperationsInput | No |
| isBlacklisted | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| expiry_date | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| serial_number | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| barcode | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| brandId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| currency | CurrencyUpdateOneRequiredWithoutProduct_pricesNestedInput | No |
| product | ProductUpdateOneRequiredWithoutPricesNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product | ProductUpdateOneRequiredWithoutInstancesNestedInput | No |
| current_owner | OrganizationCustomerUpdateOneWithoutProduct_instancesNestedInput | No |
| transactions | ProductTransactionUpdateManyWithoutProduct_instanceNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentOwnerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| transactions | ProductTransactionUncheckedUpdateManyWithoutProduct_instanceNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentOwnerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| currency | CurrencyUpdateOneRequiredWithoutKassasNestedInput | No |
| payments | PaymentUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | PaymentUncheckedUpdateManyWithoutKassaNestedInput | No |
| purchases | PurchaseUncheckedUpdateManyWithoutKassaNestedInput | No |
| sales | SaleUncheckedUpdateManyWithoutKassaNestedInput | No |
| outgoing_transfers | KassaTransferUncheckedUpdateManyWithoutFrom_kassaNestedInput | No |
| incoming_transfers | KassaTransferUncheckedUpdateManyWithoutTo_kassaNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| type | String | StringFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| balance | Decimal | DecimalFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| user | UserUpdateOneWithoutPaymentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutPaymentsNestedInput | No |
| kassa | KassaUpdateOneRequiredWithoutPaymentsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPaymentsNestedInput | No |
| purchase | PurchaseUpdateOneWithoutPaymentsNestedInput | No |
| sale | SaleUpdateOneWithoutPaymentsNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| installment_payments | InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customer | OrganizationCustomerUpdateOneRequiredWithoutTransactionsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutTransactionsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | StringFieldUpdateOperationsInput | No |
| saleDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | SaleStatus | EnumSaleStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| customer | OrganizationCustomerUpdateOneWithoutSalesNestedInput | No |
| responsible | UserUpdateOneRequiredWithoutSalesNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutSalesNestedInput | No |
| kassa | KassaUpdateOneWithoutSalesNestedInput | No |
| items | SaleItemUpdateManyWithoutSaleNestedInput | No |
| payments | PaymentUpdateManyWithoutSaleNestedInput | No |
| installments | InstallmentUpdateManyWithoutSaleNestedInput | No |
| documents | DocumentUpdateManyWithoutSaleNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| responsibleId | String | StringFieldUpdateOperationsInput | No |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | StringFieldUpdateOperationsInput | No |
| saleDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | SaleStatus | EnumSaleStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| supplier | OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput | No |
| responsible | UserUpdateOneWithoutPurchasesNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPurchasesNestedInput | No |
| kassa | KassaUpdateOneWithoutPurchasesNestedInput | No |
| items | PurchaseItemUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| items | PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product | ProductUpdateOneRequiredWithoutStocksNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| from_kassa | KassaUpdateOneRequiredWithoutOutgoing_transfersNestedInput | No |
| to_kassa | KassaUpdateOneRequiredWithoutIncoming_transfersNestedInput | No |
| from_currency | CurrencyUpdateOneRequiredWithoutFrom_transfersNestedInput | No |
| to_currency | CurrencyUpdateOneRequiredWithoutTo_transfersNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| user | UserUpdateOneWithoutAudit_logsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| uploadedBy | UserUpdateOneWithoutDocumentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutDocumentsNestedInput | No |
| sale | SaleUpdateOneWithoutDocumentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| uploadedById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| uploadedById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| role | OrgUserRole | No |
| position | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | Null | Yes |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| phone | String | No |
| note | String | Null | Yes |
| isPrimary | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| action | String | No |
| entity | String | No |
| entityId | String | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| saleId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| installmentId | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| paymentId | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutOrg_usersNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| role | OrgUserRole | EnumOrgUserRoleFieldUpdateOperationsInput | No |
| position | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| firstName | String | StringFieldUpdateOperationsInput | No |
| lastName | String | StringFieldUpdateOperationsInput | No |
| patronymic | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| phone | String | StringFieldUpdateOperationsInput | No |
| type | CustomerType | EnumCustomerTypeFieldUpdateOperationsInput | No |
| isBlacklisted | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPaymentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutPaymentsNestedInput | No |
| kassa | KassaUpdateOneRequiredWithoutPaymentsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPaymentsNestedInput | No |
| purchase | PurchaseUpdateOneWithoutPaymentsNestedInput | No |
| sale | SaleUpdateOneWithoutPaymentsNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| installment_payments | InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | StringFieldUpdateOperationsInput | No |
| saleDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | SaleStatus | EnumSaleStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPurchasesNestedInput | No |
| supplier | OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPurchasesNestedInput | No |
| kassa | KassaUpdateOneWithoutPurchasesNestedInput | No |
| items | PurchaseItemUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| items | PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| phone | String | StringFieldUpdateOperationsInput | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| isPrimary | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| phone | String | StringFieldUpdateOperationsInput | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| isPrimary | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| phone | String | StringFieldUpdateOperationsInput | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| isPrimary | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutAudit_logsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| action | String | StringFieldUpdateOperationsInput | No |
| entity | String | StringFieldUpdateOperationsInput | No |
| entityId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| oldValue | NullableJsonNullValueInput | Json | No |
| newValue | NullableJsonNullValueInput | Json | No |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutDocumentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutDocumentsNestedInput | No |
| sale | SaleUpdateOneWithoutDocumentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| installment | InstallmentUpdateOneRequiredWithoutPaymentsNestedInput | No |
| payment | PaymentUpdateOneWithoutInstallment_paymentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| installmentId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| paymentId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| installmentId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| paymentId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | Null | Yes | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| profile | UserProfileUpdateOneWithoutUserNestedInput | No |
| org_links | OrganizationUserUpdateManyWithoutUserNestedInput | No |
| cutomer_links | OrganizationCustomerUpdateManyWithoutUserNestedInput | No |
| payments | PaymentUpdateManyWithoutUserNestedInput | No |
| sales | SaleUpdateManyWithoutResponsibleNestedInput | No |
| purchases | PurchaseUpdateManyWithoutResponsibleNestedInput | No |
| phone_numbers | UserPhoneUpdateManyWithoutUserNestedInput | No |
| audit_logs | AuditLogUpdateManyWithoutUserNestedInput | No |
| documents | DocumentUpdateManyWithoutUploadedByNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutCreated_byNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| String | NullableStringFieldUpdateOperationsInput | Null | Yes | |
| password | String | StringFieldUpdateOperationsInput | No |
| isActive | Boolean | BoolFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| serialNumber | String | No |
| currentStatus | ProductStatus | No |
| organizationId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| currencyId | String | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| responsibleId | String | No |
| kassaId | String | Null | Yes |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| responsibleId | String | Null | Yes |
| kassaId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| saleId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| product | ProductUpdateOneRequiredWithoutInstancesNestedInput | No |
| organization | OrganizationUpdateOneRequiredWithoutProduct_instancesNestedInput | No |
| transactions | ProductTransactionUpdateManyWithoutProduct_instanceNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| transactions | ProductTransactionUncheckedUpdateManyWithoutProduct_instanceNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPaymentsNestedInput | No |
| user | UserUpdateOneWithoutPaymentsNestedInput | No |
| kassa | KassaUpdateOneRequiredWithoutPaymentsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPaymentsNestedInput | No |
| purchase | PurchaseUpdateOneWithoutPaymentsNestedInput | No |
| sale | SaleUpdateOneWithoutPaymentsNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| installment_payments | InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| organization | OrganizationUpdateOneRequiredWithoutTransactionsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutTransactionsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| relatedType | RelatedType | EnumRelatedTypeFieldUpdateOperationsInput | No |
| relatedId | String | StringFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| debit | Decimal | DecimalFieldUpdateOperationsInput | No |
| credit | Decimal | DecimalFieldUpdateOperationsInput | No |
| balanceAfter | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | StringFieldUpdateOperationsInput | No |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | StringFieldUpdateOperationsInput | No |
| saleDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | SaleStatus | EnumSaleStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPurchasesNestedInput | No |
| responsible | UserUpdateOneWithoutPurchasesNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPurchasesNestedInput | No |
| kassa | KassaUpdateOneWithoutPurchasesNestedInput | No |
| items | PurchaseItemUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| items | PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| sale | SaleUpdateOneRequiredWithoutInstallmentsNestedInput | No |
| payments | InstallmentPaymentUpdateManyWithoutInstallmentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | InstallmentPaymentUncheckedUpdateManyWithoutInstallmentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| uploadedBy | UserUpdateOneWithoutDocumentsNestedInput | No |
| organization | OrganizationUpdateOneRequiredWithoutDocumentsNestedInput | No |
| sale | SaleUpdateOneWithoutDocumentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| uploadedById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| uploadedById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | Null | Yes |
| expiry_date | DateTime | Null | Yes |
| serial_number | String | Null | Yes |
| barcode | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| name | String | StringFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| expiry_date | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| serial_number | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| barcode | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| categoryId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | Null | Yes |
| priceType | PriceType | No |
| amount | Decimal | No |
| currencyId | String | No |
| customerType | CustomerType | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| serialNumber | String | No |
| currentOwnerId | String | Null | Yes |
| currentStatus | ProductStatus | No |
| organizationId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| currencyId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| purchaseId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| batchNumber | String | No |
| expiryDate | DateTime | Null | Yes |
| quantity | Int | No |
| isValid | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| category | CategoryUpdateOneRequiredWithoutProductsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| categoryId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| categoryId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| currency | CurrencyUpdateOneRequiredWithoutProduct_pricesNestedInput | No |
| organization | OrganizationUpdateOneWithoutProduct_pricesNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| priceType | PriceType | EnumPriceTypeFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| customerType | CustomerType | NullableEnumCustomerTypeFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutProduct_instancesNestedInput | No |
| current_owner | OrganizationCustomerUpdateOneWithoutProduct_instancesNestedInput | No |
| transactions | ProductTransactionUpdateManyWithoutProduct_instanceNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentOwnerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| transactions | ProductTransactionUncheckedUpdateManyWithoutProduct_instanceNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| serialNumber | String | StringFieldUpdateOperationsInput | No |
| currentOwnerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| currentStatus | ProductStatus | EnumProductStatusFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| sale | SaleUpdateOneRequiredWithoutItemsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutSale_itemsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| saleId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| purchase | PurchaseUpdateOneRequiredWithoutItemsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| purchaseId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| purchaseId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutStocksNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| batchNumber | String | StringFieldUpdateOperationsInput | No |
| expiryDate | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| isValid | Boolean | BoolFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| batchNumber | String | StringFieldUpdateOperationsInput | No |
| expiryDate | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| isValid | Boolean | BoolFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| batchNumber | String | StringFieldUpdateOperationsInput | No |
| expiryDate | DateTime | NullableDateTimeFieldUpdateOperationsInput | Null | Yes |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| isValid | Boolean | BoolFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | No |
| Name | Type | Nullable |
|---|---|---|
| product | ProductUpdateOneRequiredWithoutCategoriesNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| fromCustomerId | String | Null | Yes |
| toCustomerId | String | Null | Yes |
| toOrganizationId | String | Null | Yes |
| saleId | String | Null | Yes |
| action | ProductAction | No |
| date | DateTime | No |
| description | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| fromCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toOrganizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | ProductAction | EnumProductActionFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| fromCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toOrganizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | ProductAction | EnumProductActionFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| fromCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toCustomerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| toOrganizationId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| action | ProductAction | EnumProductActionFieldUpdateOperationsInput | No |
| date | DateTime | DateTimeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | Null | Yes |
| invoiceNumber | String | Null | Yes |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| responsibleId | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | Null | Yes |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPaymentsNestedInput | No |
| user | UserUpdateOneWithoutPaymentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutPaymentsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPaymentsNestedInput | No |
| purchase | PurchaseUpdateOneWithoutPaymentsNestedInput | No |
| sale | SaleUpdateOneWithoutPaymentsNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| installment_payments | InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPurchasesNestedInput | No |
| supplier | OrganizationCustomerUpdateOneRequiredWithoutPurchasesNestedInput | No |
| responsible | UserUpdateOneWithoutPurchasesNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPurchasesNestedInput | No |
| items | PurchaseItemUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| items | PurchaseItemUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| payments | PaymentUncheckedUpdateManyWithoutPurchaseNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| supplierId | String | StringFieldUpdateOperationsInput | No |
| responsibleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| invoiceNumber | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | PurchaseStatus | EnumPurchaseStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| responsibleId | String | StringFieldUpdateOperationsInput | No |
| invoiceNumber | String | StringFieldUpdateOperationsInput | No |
| saleDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| status | SaleStatus | EnumSaleStatusFieldUpdateOperationsInput | No |
| notes | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassa_transfersNestedInput | No |
| to_kassa | KassaUpdateOneRequiredWithoutIncoming_transfersNestedInput | No |
| from_currency | CurrencyUpdateOneRequiredWithoutFrom_transfersNestedInput | No |
| to_currency | CurrencyUpdateOneRequiredWithoutTo_transfersNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| toKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutKassa_transfersNestedInput | No |
| from_kassa | KassaUpdateOneRequiredWithoutOutgoing_transfersNestedInput | No |
| from_currency | CurrencyUpdateOneRequiredWithoutFrom_transfersNestedInput | No |
| to_currency | CurrencyUpdateOneRequiredWithoutTo_transfersNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| fromKassaId | String | StringFieldUpdateOperationsInput | No |
| fromCurrencyId | String | StringFieldUpdateOperationsInput | No |
| toCurrencyId | String | StringFieldUpdateOperationsInput | No |
| rate | Decimal | DecimalFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| convertedAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| installmentId | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| createdById | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| installment | InstallmentUpdateOneRequiredWithoutPaymentsNestedInput | No |
| created_by | UserUpdateOneWithoutInstallment_paymentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| installmentId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| installmentId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| currencyId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| purchaseId | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| customerId | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | Null | Yes |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| product | ProductUpdateOneRequiredWithoutSele_itemsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutSale_itemsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPaymentsNestedInput | No |
| user | UserUpdateOneWithoutPaymentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutPaymentsNestedInput | No |
| kassa | KassaUpdateOneRequiredWithoutPaymentsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPaymentsNestedInput | No |
| purchase | PurchaseUpdateOneWithoutPaymentsNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| installment_payments | InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| purchaseId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| customer | OrganizationCustomerUpdateOneRequiredWithoutInstallmentsNestedInput | No |
| payments | InstallmentPaymentUpdateManyWithoutInstallmentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| payments | InstallmentPaymentUncheckedUpdateManyWithoutInstallmentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| customerId | String | StringFieldUpdateOperationsInput | No |
| totalAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| initialPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAmount | Decimal | DecimalFieldUpdateOperationsInput | No |
| remaining | Decimal | DecimalFieldUpdateOperationsInput | No |
| totalMonths | Int | IntFieldUpdateOperationsInput | No |
| monthsLeft | Int | IntFieldUpdateOperationsInput | No |
| monthlyPayment | Decimal | DecimalFieldUpdateOperationsInput | No |
| dueDate | DateTime | DateTimeFieldUpdateOperationsInput | No |
| status | InstallmentStatus | EnumInstallmentStatusFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| updatedAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| uploadedBy | UserUpdateOneWithoutDocumentsNestedInput | No |
| organization | OrganizationUpdateOneRequiredWithoutDocumentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutDocumentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| uploadedById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| type | DocumentType | EnumDocumentTypeFieldUpdateOperationsInput | No |
| fileUrl | String | StringFieldUpdateOperationsInput | No |
| uploadedById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | Null | Yes |
| customerId | String | Null | Yes |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | Null | Yes |
| saleId | String | Null | Yes |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| product | ProductUpdateOneRequiredWithoutPurchase_itemsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| productId | String | StringFieldUpdateOperationsInput | No |
| quantity | Int | IntFieldUpdateOperationsInput | No |
| price | Decimal | DecimalFieldUpdateOperationsInput | No |
| discount | Decimal | DecimalFieldUpdateOperationsInput | No |
| total | Decimal | DecimalFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| organization | OrganizationUpdateOneRequiredWithoutPaymentsNestedInput | No |
| user | UserUpdateOneWithoutPaymentsNestedInput | No |
| customer | OrganizationCustomerUpdateOneWithoutPaymentsNestedInput | No |
| kassa | KassaUpdateOneRequiredWithoutPaymentsNestedInput | No |
| currency | CurrencyUpdateOneRequiredWithoutPaymentsNestedInput | No |
| sale | SaleUpdateOneWithoutPaymentsNestedInput | No |
| installment_payments | InstallmentPaymentUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| installment_payments | InstallmentPaymentUncheckedUpdateManyWithoutPaymentNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| organizationId | String | StringFieldUpdateOperationsInput | No |
| userId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| customerId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| kassaId | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| currencyId | String | StringFieldUpdateOperationsInput | No |
| type | PaymentType | EnumPaymentTypeFieldUpdateOperationsInput | No |
| description | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| saleId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | Null | Yes |
| note | String | Null | Yes |
| createdById | String | Null | Yes |
| paymentId | String | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| created_by | UserUpdateOneWithoutInstallment_paymentsNestedInput | No |
| payment | PaymentUpdateOneWithoutInstallment_paymentsNestedInput | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| paymentId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | StringFieldUpdateOperationsInput | No |
| amount | Decimal | DecimalFieldUpdateOperationsInput | No |
| paidAt | DateTime | DateTimeFieldUpdateOperationsInput | No |
| paymentMethod | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| note | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| createdById | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| paymentId | String | NullableStringFieldUpdateOperationsInput | Null | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| code | String | Yes |
| name | String | Yes |
| symbol | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| product_prices | ProductPrice[] | No |
| kassas | Kassa[] | No |
| payments | Payment[] | No |
| transactions | Transaction[] | No |
| sales | Sale[] | No |
| sale_items | SaleItem[] | No |
| purchases | Purchase[] | No |
| from_transfers | KassaTransfer[] | No |
| to_transfers | KassaTransfer[] | No |
| settings | Settings[] | No |
| _count | CurrencyCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| baseCurrency | String | Yes |
| targetCurrency | String | Yes |
| rate | Decimal | Yes |
| date | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| address | String | No |
| phone | String | No |
| String | No | |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| org_users | OrganizationUser[] | No |
| customers | OrganizationCustomer[] | No |
| products | Product[] | No |
| product_prices | ProductPrice[] | No |
| product_instances | ProductInstance[] | No |
| kassas | Kassa[] | No |
| payments | Payment[] | No |
| transactions | Transaction[] | No |
| sales | Sale[] | No |
| purchases | Purchase[] | No |
| stocks | Stock[] | No |
| kassa_transfers | KassaTransfer[] | No |
| settings | Settings | No |
| audit_logs | AuditLog[] | No |
| documents | Document[] | No |
| _count | OrganizationCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| String | No | |
| password | String | Yes |
| isActive | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| roleId | String | No |
| profile | UserProfile | No |
| role | Role | No |
| org_links | OrganizationUser[] | No |
| cutomer_links | OrganizationCustomer[] | No |
| payments | Payment[] | No |
| sales | Sale[] | No |
| purchases | Purchase[] | No |
| phone_numbers | UserPhone[] | No |
| audit_logs | AuditLog[] | No |
| documents | Document[] | No |
| installment_payments | InstallmentPayment[] | No |
| _count | UserCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| userId | String | Yes |
| firstName | String | Yes |
| lastName | String | Yes |
| patronymic | String | No |
| dateOfBirth | DateTime | No |
| gender | Gender | Yes |
| passportSeries | String | No |
| passportNumber | String | No |
| issuedBy | String | No |
| issuedDate | DateTime | No |
| expiryDate | DateTime | No |
| country | String | No |
| region | String | No |
| city | String | No |
| address | String | No |
| registration | String | No |
| district | String | No |
| user | User | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| description | String | No |
| users | User[] | No |
| _count | RoleCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| userId | String | Yes |
| phone | String | Yes |
| note | String | No |
| isPrimary | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| user | User | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | Yes |
| role | OrgUserRole | Yes |
| position | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| firstName | String | Yes |
| lastName | String | Yes |
| patronymic | String | No |
| phone | String | Yes |
| type | CustomerType | Yes |
| isBlacklisted | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | No |
| product_instances | ProductInstance[] | No |
| payments | Payment[] | No |
| transactions | Transaction[] | No |
| sales | Sale[] | No |
| purchases | Purchase[] | No |
| installments | Installment[] | No |
| documents | Document[] | No |
| _count | OrganizationCustomerCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| products | Product[] | No |
| _count | BrandCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| name | String | Yes |
| description | String | No |
| expiry_date | DateTime | No |
| serial_number | String | No |
| barcode | String | No |
| brandId | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| brand | Brand | No |
| categories | ProductCategory[] | No |
| prices | ProductPrice[] | No |
| instances | ProductInstance[] | No |
| sele_items | SaleItem[] | No |
| purchase_items | PurchaseItem[] | No |
| stocks | Stock[] | No |
| product_batches | ProductBatch[] | No |
| _count | ProductCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| products | ProductCategory[] | No |
| _count | CategoryCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| productId | String | Yes |
| categoryId | String | Yes |
| product | Product | Yes |
| category | Category | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| organizationId | String | No |
| priceType | PriceType | Yes |
| amount | Decimal | Yes |
| currencyId | String | Yes |
| customerType | CustomerType | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| currency | Currency | Yes |
| product | Product | Yes |
| organization | Organization | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| serialNumber | String | Yes |
| currentOwnerId | String | No |
| currentStatus | ProductStatus | Yes |
| organizationId | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| product | Product | Yes |
| organization | Organization | Yes |
| current_owner | OrganizationCustomer | No |
| transactions | ProductTransaction[] | No |
| _count | ProductInstanceCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productInstanceId | String | Yes |
| fromCustomerId | String | No |
| toCustomerId | String | No |
| toOrganizationId | String | No |
| saleId | String | No |
| action | ProductAction | Yes |
| date | DateTime | Yes |
| description | String | No |
| product_instance | ProductInstance | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| batchNumber | String | Yes |
| expiryDate | DateTime | No |
| quantity | Int | Yes |
| isValid | Boolean | Yes |
| product | Product | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| product | Product | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| name | String | Yes |
| type | String | Yes |
| currencyId | String | Yes |
| balance | Decimal | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| currency | Currency | Yes |
| payments | Payment[] | No |
| purchases | Purchase[] | No |
| sales | Sale[] | No |
| outgoing_transfers | KassaTransfer[] | No |
| incoming_transfers | KassaTransfer[] | No |
| _count | KassaCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| fromKassaId | String | Yes |
| toKassaId | String | Yes |
| fromCurrencyId | String | Yes |
| toCurrencyId | String | Yes |
| rate | Decimal | Yes |
| amount | Decimal | Yes |
| convertedAmount | Decimal | Yes |
| description | String | No |
| createdAt | DateTime | Yes |
| organization | Organization | Yes |
| from_kassa | Kassa | Yes |
| to_kassa | Kassa | Yes |
| from_currency | Currency | Yes |
| to_currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| customerId | String | No |
| kassaId | String | Yes |
| amount | Decimal | Yes |
| currencyId | String | Yes |
| type | PaymentType | Yes |
| description | String | No |
| purchaseId | String | No |
| saleId | String | No |
| createdAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | No |
| customer | OrganizationCustomer | No |
| kassa | Kassa | Yes |
| currency | Currency | Yes |
| purchase | Purchase | No |
| sale | Sale | No |
| installment_payments | InstallmentPayment[] | No |
| _count | PaymentCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | Yes |
| relatedType | RelatedType | Yes |
| relatedId | String | Yes |
| date | DateTime | Yes |
| debit | Decimal | Yes |
| credit | Decimal | Yes |
| balanceAfter | Decimal | Yes |
| currencyId | String | Yes |
| description | String | No |
| organization | Organization | Yes |
| customer | OrganizationCustomer | Yes |
| currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | No |
| responsibleId | String | Yes |
| kassaId | String | No |
| invoiceNumber | String | Yes |
| saleDate | DateTime | Yes |
| totalAmount | Decimal | Yes |
| paidAmount | Decimal | Yes |
| currencyId | String | Yes |
| status | SaleStatus | Yes |
| notes | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| customer | OrganizationCustomer | No |
| responsible | User | Yes |
| currency | Currency | Yes |
| kassa | Kassa | No |
| items | SaleItem[] | No |
| payments | Payment[] | No |
| installments | Installment[] | No |
| documents | Document[] | No |
| _count | SaleCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| saleId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| price | Decimal | Yes |
| total | Decimal | Yes |
| currencyId | String | Yes |
| sale | Sale | Yes |
| product | Product | Yes |
| currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| supplierId | String | Yes |
| responsibleId | String | No |
| kassaId | String | No |
| invoiceNumber | String | No |
| purchaseDate | DateTime | Yes |
| totalAmount | Decimal | Yes |
| paidAmount | Decimal | Yes |
| currencyId | String | Yes |
| status | PurchaseStatus | Yes |
| notes | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| supplier | OrganizationCustomer | Yes |
| responsible | User | No |
| currency | Currency | Yes |
| kassa | Kassa | No |
| items | PurchaseItem[] | No |
| payments | Payment[] | No |
| _count | PurchaseCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| purchaseId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| price | Decimal | Yes |
| discount | Decimal | Yes |
| total | Decimal | Yes |
| purchase | Purchase | Yes |
| product | Product | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| saleId | String | Yes |
| customerId | String | Yes |
| totalAmount | Decimal | Yes |
| initialPayment | Decimal | Yes |
| paidAmount | Decimal | Yes |
| remaining | Decimal | Yes |
| totalMonths | Int | Yes |
| monthsLeft | Int | Yes |
| monthlyPayment | Decimal | Yes |
| dueDate | DateTime | Yes |
| status | InstallmentStatus | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| sale | Sale | Yes |
| customer | OrganizationCustomer | Yes |
| payments | InstallmentPayment[] | No |
| _count | InstallmentCountOutputType | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| installmentId | String | Yes |
| amount | Decimal | Yes |
| paidAt | DateTime | Yes |
| paymentMethod | String | No |
| note | String | No |
| createdById | String | No |
| paymentId | String | No |
| installment | Installment | Yes |
| created_by | User | No |
| payment | Payment | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | No |
| saleId | String | No |
| type | DocumentType | Yes |
| fileUrl | String | Yes |
| uploadedById | String | No |
| createdAt | DateTime | Yes |
| uploadedBy | User | No |
| organization | Organization | Yes |
| customer | OrganizationCustomer | No |
| sale | Sale | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| baseCurrencyId | String | Yes |
| language | String | No |
| dateFormat | String | No |
| enableInstallment | Boolean | Yes |
| enableNotifications | Boolean | Yes |
| enableAutoRateUpdate | Boolean | Yes |
| taxPercent | Decimal | No |
| logoUrl | String | No |
| theme | ThemeType | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| baseCurrency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| action | String | Yes |
| entity | String | Yes |
| entityId | String | No |
| oldValue | Json | No |
| newValue | Json | No |
| note | String | No |
| createdAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| code | String | Yes |
| name | String | Yes |
| symbol | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| code | String | Yes |
| name | String | Yes |
| symbol | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| baseCurrency | String | Yes |
| targetCurrency | String | Yes |
| rate | Decimal | Yes |
| date | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| baseCurrency | String | Yes |
| targetCurrency | String | Yes |
| rate | Decimal | Yes |
| date | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| address | String | No |
| phone | String | No |
| String | No | |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| address | String | No |
| phone | String | No |
| String | No | |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| String | No | |
| password | String | Yes |
| isActive | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| roleId | String | No |
| role | Role | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| String | No | |
| password | String | Yes |
| isActive | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| roleId | String | No |
| role | Role | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| userId | String | Yes |
| firstName | String | Yes |
| lastName | String | Yes |
| patronymic | String | No |
| dateOfBirth | DateTime | No |
| gender | Gender | Yes |
| passportSeries | String | No |
| passportNumber | String | No |
| issuedBy | String | No |
| issuedDate | DateTime | No |
| expiryDate | DateTime | No |
| country | String | No |
| region | String | No |
| city | String | No |
| address | String | No |
| registration | String | No |
| district | String | No |
| user | User | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| userId | String | Yes |
| firstName | String | Yes |
| lastName | String | Yes |
| patronymic | String | No |
| dateOfBirth | DateTime | No |
| gender | Gender | Yes |
| passportSeries | String | No |
| passportNumber | String | No |
| issuedBy | String | No |
| issuedDate | DateTime | No |
| expiryDate | DateTime | No |
| country | String | No |
| region | String | No |
| city | String | No |
| address | String | No |
| registration | String | No |
| district | String | No |
| user | User | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| description | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| description | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| userId | String | Yes |
| phone | String | Yes |
| note | String | No |
| isPrimary | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| user | User | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| userId | String | Yes |
| phone | String | Yes |
| note | String | No |
| isPrimary | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| user | User | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | Yes |
| role | OrgUserRole | Yes |
| position | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | Yes |
| role | OrgUserRole | Yes |
| position | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| firstName | String | Yes |
| lastName | String | Yes |
| patronymic | String | No |
| phone | String | Yes |
| type | CustomerType | Yes |
| isBlacklisted | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| firstName | String | Yes |
| lastName | String | Yes |
| patronymic | String | No |
| phone | String | Yes |
| type | CustomerType | Yes |
| isBlacklisted | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| name | String | Yes |
| description | String | No |
| expiry_date | DateTime | No |
| serial_number | String | No |
| barcode | String | No |
| brandId | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| brand | Brand | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| name | String | Yes |
| description | String | No |
| expiry_date | DateTime | No |
| serial_number | String | No |
| barcode | String | No |
| brandId | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| brand | Brand | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| Name | Type | Nullable |
|---|---|---|
| productId | String | Yes |
| categoryId | String | Yes |
| product | Product | Yes |
| category | Category | Yes |
| Name | Type | Nullable |
|---|---|---|
| productId | String | Yes |
| categoryId | String | Yes |
| product | Product | Yes |
| category | Category | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| organizationId | String | No |
| priceType | PriceType | Yes |
| amount | Decimal | Yes |
| currencyId | String | Yes |
| customerType | CustomerType | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| currency | Currency | Yes |
| product | Product | Yes |
| organization | Organization | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| organizationId | String | No |
| priceType | PriceType | Yes |
| amount | Decimal | Yes |
| currencyId | String | Yes |
| customerType | CustomerType | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| currency | Currency | Yes |
| product | Product | Yes |
| organization | Organization | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| serialNumber | String | Yes |
| currentOwnerId | String | No |
| currentStatus | ProductStatus | Yes |
| organizationId | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| product | Product | Yes |
| organization | Organization | Yes |
| current_owner | OrganizationCustomer | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| serialNumber | String | Yes |
| currentOwnerId | String | No |
| currentStatus | ProductStatus | Yes |
| organizationId | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| product | Product | Yes |
| organization | Organization | Yes |
| current_owner | OrganizationCustomer | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productInstanceId | String | Yes |
| fromCustomerId | String | No |
| toCustomerId | String | No |
| toOrganizationId | String | No |
| saleId | String | No |
| action | ProductAction | Yes |
| date | DateTime | Yes |
| description | String | No |
| product_instance | ProductInstance | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productInstanceId | String | Yes |
| fromCustomerId | String | No |
| toCustomerId | String | No |
| toOrganizationId | String | No |
| saleId | String | No |
| action | ProductAction | Yes |
| date | DateTime | Yes |
| description | String | No |
| product_instance | ProductInstance | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| batchNumber | String | Yes |
| expiryDate | DateTime | No |
| quantity | Int | Yes |
| isValid | Boolean | Yes |
| product | Product | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| batchNumber | String | Yes |
| expiryDate | DateTime | No |
| quantity | Int | Yes |
| isValid | Boolean | Yes |
| product | Product | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| product | Product | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| product | Product | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| name | String | Yes |
| type | String | Yes |
| currencyId | String | Yes |
| balance | Decimal | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| name | String | Yes |
| type | String | Yes |
| currencyId | String | Yes |
| balance | Decimal | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| fromKassaId | String | Yes |
| toKassaId | String | Yes |
| fromCurrencyId | String | Yes |
| toCurrencyId | String | Yes |
| rate | Decimal | Yes |
| amount | Decimal | Yes |
| convertedAmount | Decimal | Yes |
| description | String | No |
| createdAt | DateTime | Yes |
| organization | Organization | Yes |
| from_kassa | Kassa | Yes |
| to_kassa | Kassa | Yes |
| from_currency | Currency | Yes |
| to_currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| fromKassaId | String | Yes |
| toKassaId | String | Yes |
| fromCurrencyId | String | Yes |
| toCurrencyId | String | Yes |
| rate | Decimal | Yes |
| amount | Decimal | Yes |
| convertedAmount | Decimal | Yes |
| description | String | No |
| createdAt | DateTime | Yes |
| organization | Organization | Yes |
| from_kassa | Kassa | Yes |
| to_kassa | Kassa | Yes |
| from_currency | Currency | Yes |
| to_currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| customerId | String | No |
| kassaId | String | Yes |
| amount | Decimal | Yes |
| currencyId | String | Yes |
| type | PaymentType | Yes |
| description | String | No |
| purchaseId | String | No |
| saleId | String | No |
| createdAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | No |
| customer | OrganizationCustomer | No |
| kassa | Kassa | Yes |
| currency | Currency | Yes |
| purchase | Purchase | No |
| sale | Sale | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| customerId | String | No |
| kassaId | String | Yes |
| amount | Decimal | Yes |
| currencyId | String | Yes |
| type | PaymentType | Yes |
| description | String | No |
| purchaseId | String | No |
| saleId | String | No |
| createdAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | No |
| customer | OrganizationCustomer | No |
| kassa | Kassa | Yes |
| currency | Currency | Yes |
| purchase | Purchase | No |
| sale | Sale | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | Yes |
| relatedType | RelatedType | Yes |
| relatedId | String | Yes |
| date | DateTime | Yes |
| debit | Decimal | Yes |
| credit | Decimal | Yes |
| balanceAfter | Decimal | Yes |
| currencyId | String | Yes |
| description | String | No |
| organization | Organization | Yes |
| customer | OrganizationCustomer | Yes |
| currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | Yes |
| relatedType | RelatedType | Yes |
| relatedId | String | Yes |
| date | DateTime | Yes |
| debit | Decimal | Yes |
| credit | Decimal | Yes |
| balanceAfter | Decimal | Yes |
| currencyId | String | Yes |
| description | String | No |
| organization | Organization | Yes |
| customer | OrganizationCustomer | Yes |
| currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | No |
| responsibleId | String | Yes |
| kassaId | String | No |
| invoiceNumber | String | Yes |
| saleDate | DateTime | Yes |
| totalAmount | Decimal | Yes |
| paidAmount | Decimal | Yes |
| currencyId | String | Yes |
| status | SaleStatus | Yes |
| notes | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| customer | OrganizationCustomer | No |
| responsible | User | Yes |
| currency | Currency | Yes |
| kassa | Kassa | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | No |
| responsibleId | String | Yes |
| kassaId | String | No |
| invoiceNumber | String | Yes |
| saleDate | DateTime | Yes |
| totalAmount | Decimal | Yes |
| paidAmount | Decimal | Yes |
| currencyId | String | Yes |
| status | SaleStatus | Yes |
| notes | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| customer | OrganizationCustomer | No |
| responsible | User | Yes |
| currency | Currency | Yes |
| kassa | Kassa | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| saleId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| price | Decimal | Yes |
| total | Decimal | Yes |
| currencyId | String | Yes |
| sale | Sale | Yes |
| product | Product | Yes |
| currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| saleId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| price | Decimal | Yes |
| total | Decimal | Yes |
| currencyId | String | Yes |
| sale | Sale | Yes |
| product | Product | Yes |
| currency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| supplierId | String | Yes |
| responsibleId | String | No |
| kassaId | String | No |
| invoiceNumber | String | No |
| purchaseDate | DateTime | Yes |
| totalAmount | Decimal | Yes |
| paidAmount | Decimal | Yes |
| currencyId | String | Yes |
| status | PurchaseStatus | Yes |
| notes | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| supplier | OrganizationCustomer | Yes |
| responsible | User | No |
| currency | Currency | Yes |
| kassa | Kassa | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| supplierId | String | Yes |
| responsibleId | String | No |
| kassaId | String | No |
| invoiceNumber | String | No |
| purchaseDate | DateTime | Yes |
| totalAmount | Decimal | Yes |
| paidAmount | Decimal | Yes |
| currencyId | String | Yes |
| status | PurchaseStatus | Yes |
| notes | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| supplier | OrganizationCustomer | Yes |
| responsible | User | No |
| currency | Currency | Yes |
| kassa | Kassa | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| purchaseId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| price | Decimal | Yes |
| discount | Decimal | Yes |
| total | Decimal | Yes |
| purchase | Purchase | Yes |
| product | Product | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| purchaseId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| price | Decimal | Yes |
| discount | Decimal | Yes |
| total | Decimal | Yes |
| purchase | Purchase | Yes |
| product | Product | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| saleId | String | Yes |
| customerId | String | Yes |
| totalAmount | Decimal | Yes |
| initialPayment | Decimal | Yes |
| paidAmount | Decimal | Yes |
| remaining | Decimal | Yes |
| totalMonths | Int | Yes |
| monthsLeft | Int | Yes |
| monthlyPayment | Decimal | Yes |
| dueDate | DateTime | Yes |
| status | InstallmentStatus | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| sale | Sale | Yes |
| customer | OrganizationCustomer | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| saleId | String | Yes |
| customerId | String | Yes |
| totalAmount | Decimal | Yes |
| initialPayment | Decimal | Yes |
| paidAmount | Decimal | Yes |
| remaining | Decimal | Yes |
| totalMonths | Int | Yes |
| monthsLeft | Int | Yes |
| monthlyPayment | Decimal | Yes |
| dueDate | DateTime | Yes |
| status | InstallmentStatus | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| sale | Sale | Yes |
| customer | OrganizationCustomer | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| installmentId | String | Yes |
| amount | Decimal | Yes |
| paidAt | DateTime | Yes |
| paymentMethod | String | No |
| note | String | No |
| createdById | String | No |
| paymentId | String | No |
| installment | Installment | Yes |
| created_by | User | No |
| payment | Payment | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| installmentId | String | Yes |
| amount | Decimal | Yes |
| paidAt | DateTime | Yes |
| paymentMethod | String | No |
| note | String | No |
| createdById | String | No |
| paymentId | String | No |
| installment | Installment | Yes |
| created_by | User | No |
| payment | Payment | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | No |
| saleId | String | No |
| type | DocumentType | Yes |
| fileUrl | String | Yes |
| uploadedById | String | No |
| createdAt | DateTime | Yes |
| uploadedBy | User | No |
| organization | Organization | Yes |
| customer | OrganizationCustomer | No |
| sale | Sale | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | No |
| saleId | String | No |
| type | DocumentType | Yes |
| fileUrl | String | Yes |
| uploadedById | String | No |
| createdAt | DateTime | Yes |
| uploadedBy | User | No |
| organization | Organization | Yes |
| customer | OrganizationCustomer | No |
| sale | Sale | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| baseCurrencyId | String | Yes |
| language | String | No |
| dateFormat | String | No |
| enableInstallment | Boolean | Yes |
| enableNotifications | Boolean | Yes |
| enableAutoRateUpdate | Boolean | Yes |
| taxPercent | Decimal | No |
| logoUrl | String | No |
| theme | ThemeType | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| baseCurrency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| baseCurrencyId | String | Yes |
| language | String | No |
| dateFormat | String | No |
| enableInstallment | Boolean | Yes |
| enableNotifications | Boolean | Yes |
| enableAutoRateUpdate | Boolean | Yes |
| taxPercent | Decimal | No |
| logoUrl | String | No |
| theme | ThemeType | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| organization | Organization | Yes |
| baseCurrency | Currency | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| action | String | Yes |
| entity | String | Yes |
| entityId | String | No |
| oldValue | Json | No |
| newValue | Json | No |
| note | String | No |
| createdAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| action | String | Yes |
| entity | String | Yes |
| entityId | String | No |
| oldValue | Json | No |
| newValue | Json | No |
| note | String | No |
| createdAt | DateTime | Yes |
| organization | Organization | Yes |
| user | User | No |
| Name | Type | Nullable |
|---|---|---|
| _count | CurrencyCountAggregateOutputType | No |
| _min | CurrencyMinAggregateOutputType | No |
| _max | CurrencyMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| code | String | Yes |
| name | String | Yes |
| symbol | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | CurrencyCountAggregateOutputType | No |
| _min | CurrencyMinAggregateOutputType | No |
| _max | CurrencyMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | CurrencyRateCountAggregateOutputType | No |
| _avg | CurrencyRateAvgAggregateOutputType | No |
| _sum | CurrencyRateSumAggregateOutputType | No |
| _min | CurrencyRateMinAggregateOutputType | No |
| _max | CurrencyRateMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| baseCurrency | String | Yes |
| targetCurrency | String | Yes |
| rate | Decimal | Yes |
| date | DateTime | Yes |
| _count | CurrencyRateCountAggregateOutputType | No |
| _avg | CurrencyRateAvgAggregateOutputType | No |
| _sum | CurrencyRateSumAggregateOutputType | No |
| _min | CurrencyRateMinAggregateOutputType | No |
| _max | CurrencyRateMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | OrganizationCountAggregateOutputType | No |
| _min | OrganizationMinAggregateOutputType | No |
| _max | OrganizationMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| address | String | No |
| phone | String | No |
| String | No | |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | OrganizationCountAggregateOutputType | No |
| _min | OrganizationMinAggregateOutputType | No |
| _max | OrganizationMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | UserCountAggregateOutputType | No |
| _min | UserMinAggregateOutputType | No |
| _max | UserMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| String | No | |
| password | String | Yes |
| isActive | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| roleId | String | No |
| _count | UserCountAggregateOutputType | No |
| _min | UserMinAggregateOutputType | No |
| _max | UserMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | UserProfileCountAggregateOutputType | No |
| _min | UserProfileMinAggregateOutputType | No |
| _max | UserProfileMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| userId | String | Yes |
| firstName | String | Yes |
| lastName | String | Yes |
| patronymic | String | No |
| dateOfBirth | DateTime | No |
| gender | Gender | Yes |
| passportSeries | String | No |
| passportNumber | String | No |
| issuedBy | String | No |
| issuedDate | DateTime | No |
| expiryDate | DateTime | No |
| country | String | No |
| region | String | No |
| city | String | No |
| address | String | No |
| registration | String | No |
| district | String | No |
| _count | UserProfileCountAggregateOutputType | No |
| _min | UserProfileMinAggregateOutputType | No |
| _max | UserProfileMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | RoleCountAggregateOutputType | No |
| _min | RoleMinAggregateOutputType | No |
| _max | RoleMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| description | String | No |
| _count | RoleCountAggregateOutputType | No |
| _min | RoleMinAggregateOutputType | No |
| _max | RoleMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | UserPhoneCountAggregateOutputType | No |
| _min | UserPhoneMinAggregateOutputType | No |
| _max | UserPhoneMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| userId | String | Yes |
| phone | String | Yes |
| note | String | No |
| isPrimary | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | UserPhoneCountAggregateOutputType | No |
| _min | UserPhoneMinAggregateOutputType | No |
| _max | UserPhoneMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | OrganizationUserCountAggregateOutputType | No |
| _min | OrganizationUserMinAggregateOutputType | No |
| _max | OrganizationUserMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | Yes |
| role | OrgUserRole | Yes |
| position | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | OrganizationUserCountAggregateOutputType | No |
| _min | OrganizationUserMinAggregateOutputType | No |
| _max | OrganizationUserMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | OrganizationCustomerCountAggregateOutputType | No |
| _min | OrganizationCustomerMinAggregateOutputType | No |
| _max | OrganizationCustomerMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| firstName | String | Yes |
| lastName | String | Yes |
| patronymic | String | No |
| phone | String | Yes |
| type | CustomerType | Yes |
| isBlacklisted | Boolean | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | OrganizationCustomerCountAggregateOutputType | No |
| _min | OrganizationCustomerMinAggregateOutputType | No |
| _max | OrganizationCustomerMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | BrandCountAggregateOutputType | No |
| _min | BrandMinAggregateOutputType | No |
| _max | BrandMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | BrandCountAggregateOutputType | No |
| _min | BrandMinAggregateOutputType | No |
| _max | BrandMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | ProductCountAggregateOutputType | No |
| _min | ProductMinAggregateOutputType | No |
| _max | ProductMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| name | String | Yes |
| description | String | No |
| expiry_date | DateTime | No |
| serial_number | String | No |
| barcode | String | No |
| brandId | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | ProductCountAggregateOutputType | No |
| _min | ProductMinAggregateOutputType | No |
| _max | ProductMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | CategoryCountAggregateOutputType | No |
| _min | CategoryMinAggregateOutputType | No |
| _max | CategoryMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| name | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | CategoryCountAggregateOutputType | No |
| _min | CategoryMinAggregateOutputType | No |
| _max | CategoryMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | ProductCategoryCountAggregateOutputType | No |
| _min | ProductCategoryMinAggregateOutputType | No |
| _max | ProductCategoryMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | Yes |
| categoryId | String | Yes |
| _count | ProductCategoryCountAggregateOutputType | No |
| _min | ProductCategoryMinAggregateOutputType | No |
| _max | ProductCategoryMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | ProductPriceCountAggregateOutputType | No |
| _avg | ProductPriceAvgAggregateOutputType | No |
| _sum | ProductPriceSumAggregateOutputType | No |
| _min | ProductPriceMinAggregateOutputType | No |
| _max | ProductPriceMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| organizationId | String | No |
| priceType | PriceType | Yes |
| amount | Decimal | Yes |
| currencyId | String | Yes |
| customerType | CustomerType | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | ProductPriceCountAggregateOutputType | No |
| _avg | ProductPriceAvgAggregateOutputType | No |
| _sum | ProductPriceSumAggregateOutputType | No |
| _min | ProductPriceMinAggregateOutputType | No |
| _max | ProductPriceMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | ProductInstanceCountAggregateOutputType | No |
| _min | ProductInstanceMinAggregateOutputType | No |
| _max | ProductInstanceMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| serialNumber | String | Yes |
| currentOwnerId | String | No |
| currentStatus | ProductStatus | Yes |
| organizationId | String | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | ProductInstanceCountAggregateOutputType | No |
| _min | ProductInstanceMinAggregateOutputType | No |
| _max | ProductInstanceMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | ProductTransactionCountAggregateOutputType | No |
| _min | ProductTransactionMinAggregateOutputType | No |
| _max | ProductTransactionMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productInstanceId | String | Yes |
| fromCustomerId | String | No |
| toCustomerId | String | No |
| toOrganizationId | String | No |
| saleId | String | No |
| action | ProductAction | Yes |
| date | DateTime | Yes |
| description | String | No |
| _count | ProductTransactionCountAggregateOutputType | No |
| _min | ProductTransactionMinAggregateOutputType | No |
| _max | ProductTransactionMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | ProductBatchCountAggregateOutputType | No |
| _avg | ProductBatchAvgAggregateOutputType | No |
| _sum | ProductBatchSumAggregateOutputType | No |
| _min | ProductBatchMinAggregateOutputType | No |
| _max | ProductBatchMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| productId | String | Yes |
| batchNumber | String | Yes |
| expiryDate | DateTime | No |
| quantity | Int | Yes |
| isValid | Boolean | Yes |
| _count | ProductBatchCountAggregateOutputType | No |
| _avg | ProductBatchAvgAggregateOutputType | No |
| _sum | ProductBatchSumAggregateOutputType | No |
| _min | ProductBatchMinAggregateOutputType | No |
| _max | ProductBatchMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | StockCountAggregateOutputType | No |
| _avg | StockAvgAggregateOutputType | No |
| _sum | StockSumAggregateOutputType | No |
| _min | StockMinAggregateOutputType | No |
| _max | StockMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| updatedAt | DateTime | Yes |
| _count | StockCountAggregateOutputType | No |
| _avg | StockAvgAggregateOutputType | No |
| _sum | StockSumAggregateOutputType | No |
| _min | StockMinAggregateOutputType | No |
| _max | StockMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | KassaCountAggregateOutputType | No |
| _avg | KassaAvgAggregateOutputType | No |
| _sum | KassaSumAggregateOutputType | No |
| _min | KassaMinAggregateOutputType | No |
| _max | KassaMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| name | String | Yes |
| type | String | Yes |
| currencyId | String | Yes |
| balance | Decimal | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | KassaCountAggregateOutputType | No |
| _avg | KassaAvgAggregateOutputType | No |
| _sum | KassaSumAggregateOutputType | No |
| _min | KassaMinAggregateOutputType | No |
| _max | KassaMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | KassaTransferCountAggregateOutputType | No |
| _avg | KassaTransferAvgAggregateOutputType | No |
| _sum | KassaTransferSumAggregateOutputType | No |
| _min | KassaTransferMinAggregateOutputType | No |
| _max | KassaTransferMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| fromKassaId | String | Yes |
| toKassaId | String | Yes |
| fromCurrencyId | String | Yes |
| toCurrencyId | String | Yes |
| rate | Decimal | Yes |
| amount | Decimal | Yes |
| convertedAmount | Decimal | Yes |
| description | String | No |
| createdAt | DateTime | Yes |
| _count | KassaTransferCountAggregateOutputType | No |
| _avg | KassaTransferAvgAggregateOutputType | No |
| _sum | KassaTransferSumAggregateOutputType | No |
| _min | KassaTransferMinAggregateOutputType | No |
| _max | KassaTransferMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | PaymentCountAggregateOutputType | No |
| _avg | PaymentAvgAggregateOutputType | No |
| _sum | PaymentSumAggregateOutputType | No |
| _min | PaymentMinAggregateOutputType | No |
| _max | PaymentMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| customerId | String | No |
| kassaId | String | Yes |
| amount | Decimal | Yes |
| currencyId | String | Yes |
| type | PaymentType | Yes |
| description | String | No |
| purchaseId | String | No |
| saleId | String | No |
| createdAt | DateTime | Yes |
| _count | PaymentCountAggregateOutputType | No |
| _avg | PaymentAvgAggregateOutputType | No |
| _sum | PaymentSumAggregateOutputType | No |
| _min | PaymentMinAggregateOutputType | No |
| _max | PaymentMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | TransactionCountAggregateOutputType | No |
| _avg | TransactionAvgAggregateOutputType | No |
| _sum | TransactionSumAggregateOutputType | No |
| _min | TransactionMinAggregateOutputType | No |
| _max | TransactionMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | Yes |
| relatedType | RelatedType | Yes |
| relatedId | String | Yes |
| date | DateTime | Yes |
| debit | Decimal | Yes |
| credit | Decimal | Yes |
| balanceAfter | Decimal | Yes |
| currencyId | String | Yes |
| description | String | No |
| _count | TransactionCountAggregateOutputType | No |
| _avg | TransactionAvgAggregateOutputType | No |
| _sum | TransactionSumAggregateOutputType | No |
| _min | TransactionMinAggregateOutputType | No |
| _max | TransactionMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SaleCountAggregateOutputType | No |
| _avg | SaleAvgAggregateOutputType | No |
| _sum | SaleSumAggregateOutputType | No |
| _min | SaleMinAggregateOutputType | No |
| _max | SaleMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | No |
| responsibleId | String | Yes |
| kassaId | String | No |
| invoiceNumber | String | Yes |
| saleDate | DateTime | Yes |
| totalAmount | Decimal | Yes |
| paidAmount | Decimal | Yes |
| currencyId | String | Yes |
| status | SaleStatus | Yes |
| notes | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | SaleCountAggregateOutputType | No |
| _avg | SaleAvgAggregateOutputType | No |
| _sum | SaleSumAggregateOutputType | No |
| _min | SaleMinAggregateOutputType | No |
| _max | SaleMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SaleItemCountAggregateOutputType | No |
| _avg | SaleItemAvgAggregateOutputType | No |
| _sum | SaleItemSumAggregateOutputType | No |
| _min | SaleItemMinAggregateOutputType | No |
| _max | SaleItemMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| saleId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| price | Decimal | Yes |
| total | Decimal | Yes |
| currencyId | String | Yes |
| _count | SaleItemCountAggregateOutputType | No |
| _avg | SaleItemAvgAggregateOutputType | No |
| _sum | SaleItemSumAggregateOutputType | No |
| _min | SaleItemMinAggregateOutputType | No |
| _max | SaleItemMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | PurchaseCountAggregateOutputType | No |
| _avg | PurchaseAvgAggregateOutputType | No |
| _sum | PurchaseSumAggregateOutputType | No |
| _min | PurchaseMinAggregateOutputType | No |
| _max | PurchaseMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| supplierId | String | Yes |
| responsibleId | String | No |
| kassaId | String | No |
| invoiceNumber | String | No |
| purchaseDate | DateTime | Yes |
| totalAmount | Decimal | Yes |
| paidAmount | Decimal | Yes |
| currencyId | String | Yes |
| status | PurchaseStatus | Yes |
| notes | String | No |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | PurchaseCountAggregateOutputType | No |
| _avg | PurchaseAvgAggregateOutputType | No |
| _sum | PurchaseSumAggregateOutputType | No |
| _min | PurchaseMinAggregateOutputType | No |
| _max | PurchaseMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | PurchaseItemCountAggregateOutputType | No |
| _avg | PurchaseItemAvgAggregateOutputType | No |
| _sum | PurchaseItemSumAggregateOutputType | No |
| _min | PurchaseItemMinAggregateOutputType | No |
| _max | PurchaseItemMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| purchaseId | String | Yes |
| productId | String | Yes |
| quantity | Int | Yes |
| price | Decimal | Yes |
| discount | Decimal | Yes |
| total | Decimal | Yes |
| _count | PurchaseItemCountAggregateOutputType | No |
| _avg | PurchaseItemAvgAggregateOutputType | No |
| _sum | PurchaseItemSumAggregateOutputType | No |
| _min | PurchaseItemMinAggregateOutputType | No |
| _max | PurchaseItemMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | InstallmentCountAggregateOutputType | No |
| _avg | InstallmentAvgAggregateOutputType | No |
| _sum | InstallmentSumAggregateOutputType | No |
| _min | InstallmentMinAggregateOutputType | No |
| _max | InstallmentMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| saleId | String | Yes |
| customerId | String | Yes |
| totalAmount | Decimal | Yes |
| initialPayment | Decimal | Yes |
| paidAmount | Decimal | Yes |
| remaining | Decimal | Yes |
| totalMonths | Int | Yes |
| monthsLeft | Int | Yes |
| monthlyPayment | Decimal | Yes |
| dueDate | DateTime | Yes |
| status | InstallmentStatus | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | InstallmentCountAggregateOutputType | No |
| _avg | InstallmentAvgAggregateOutputType | No |
| _sum | InstallmentSumAggregateOutputType | No |
| _min | InstallmentMinAggregateOutputType | No |
| _max | InstallmentMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | InstallmentPaymentCountAggregateOutputType | No |
| _avg | InstallmentPaymentAvgAggregateOutputType | No |
| _sum | InstallmentPaymentSumAggregateOutputType | No |
| _min | InstallmentPaymentMinAggregateOutputType | No |
| _max | InstallmentPaymentMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| installmentId | String | Yes |
| amount | Decimal | Yes |
| paidAt | DateTime | Yes |
| paymentMethod | String | No |
| note | String | No |
| createdById | String | No |
| paymentId | String | No |
| _count | InstallmentPaymentCountAggregateOutputType | No |
| _avg | InstallmentPaymentAvgAggregateOutputType | No |
| _sum | InstallmentPaymentSumAggregateOutputType | No |
| _min | InstallmentPaymentMinAggregateOutputType | No |
| _max | InstallmentPaymentMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | DocumentCountAggregateOutputType | No |
| _min | DocumentMinAggregateOutputType | No |
| _max | DocumentMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| customerId | String | No |
| saleId | String | No |
| type | DocumentType | Yes |
| fileUrl | String | Yes |
| uploadedById | String | No |
| createdAt | DateTime | Yes |
| _count | DocumentCountAggregateOutputType | No |
| _min | DocumentMinAggregateOutputType | No |
| _max | DocumentMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | SettingsCountAggregateOutputType | No |
| _avg | SettingsAvgAggregateOutputType | No |
| _sum | SettingsSumAggregateOutputType | No |
| _min | SettingsMinAggregateOutputType | No |
| _max | SettingsMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| baseCurrencyId | String | Yes |
| language | String | No |
| dateFormat | String | No |
| enableInstallment | Boolean | Yes |
| enableNotifications | Boolean | Yes |
| enableAutoRateUpdate | Boolean | Yes |
| taxPercent | Decimal | No |
| logoUrl | String | No |
| theme | ThemeType | Yes |
| createdAt | DateTime | Yes |
| updatedAt | DateTime | Yes |
| _count | SettingsCountAggregateOutputType | No |
| _avg | SettingsAvgAggregateOutputType | No |
| _sum | SettingsSumAggregateOutputType | No |
| _min | SettingsMinAggregateOutputType | No |
| _max | SettingsMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| _count | AuditLogCountAggregateOutputType | No |
| _min | AuditLogMinAggregateOutputType | No |
| _max | AuditLogMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | Yes |
| organizationId | String | Yes |
| userId | String | No |
| action | String | Yes |
| entity | String | Yes |
| entityId | String | No |
| oldValue | Json | No |
| newValue | Json | No |
| note | String | No |
| createdAt | DateTime | Yes |
| _count | AuditLogCountAggregateOutputType | No |
| _min | AuditLogMinAggregateOutputType | No |
| _max | AuditLogMaxAggregateOutputType | No |
| Name | Type | Nullable |
|---|---|---|
| count | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| product_prices | Int | Yes |
| kassas | Int | Yes |
| payments | Int | Yes |
| transactions | Int | Yes |
| sales | Int | Yes |
| sale_items | Int | Yes |
| purchases | Int | Yes |
| from_transfers | Int | Yes |
| to_transfers | Int | Yes |
| settings | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| code | Int | Yes |
| name | Int | Yes |
| symbol | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| code | String | No |
| name | String | No |
| symbol | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| baseCurrency | Int | Yes |
| targetCurrency | Int | Yes |
| rate | Int | Yes |
| date | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| rate | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| rate | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| baseCurrency | String | No |
| targetCurrency | String | No |
| rate | Decimal | No |
| date | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| baseCurrency | String | No |
| targetCurrency | String | No |
| rate | Decimal | No |
| date | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| org_users | Int | Yes |
| customers | Int | Yes |
| products | Int | Yes |
| product_prices | Int | Yes |
| product_instances | Int | Yes |
| kassas | Int | Yes |
| payments | Int | Yes |
| transactions | Int | Yes |
| sales | Int | Yes |
| purchases | Int | Yes |
| stocks | Int | Yes |
| kassa_transfers | Int | Yes |
| audit_logs | Int | Yes |
| documents | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| name | Int | Yes |
| address | Int | Yes |
| phone | Int | Yes |
| Int | Yes | |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| address | String | No |
| phone | String | No |
| String | No | |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| address | String | No |
| phone | String | No |
| String | No | |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| org_links | Int | Yes |
| cutomer_links | Int | Yes |
| payments | Int | Yes |
| sales | Int | Yes |
| purchases | Int | Yes |
| phone_numbers | Int | Yes |
| audit_logs | Int | Yes |
| documents | Int | Yes |
| installment_payments | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| Int | Yes | |
| password | Int | Yes |
| isActive | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| roleId | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | No | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| String | No | |
| password | String | No |
| isActive | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| roleId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| userId | Int | Yes |
| firstName | Int | Yes |
| lastName | Int | Yes |
| patronymic | Int | Yes |
| dateOfBirth | Int | Yes |
| gender | Int | Yes |
| passportSeries | Int | Yes |
| passportNumber | Int | Yes |
| issuedBy | Int | Yes |
| issuedDate | Int | Yes |
| expiryDate | Int | Yes |
| country | Int | Yes |
| region | Int | Yes |
| city | Int | Yes |
| address | Int | Yes |
| registration | Int | Yes |
| district | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | No |
| dateOfBirth | DateTime | No |
| gender | Gender | No |
| passportSeries | String | No |
| passportNumber | String | No |
| issuedBy | String | No |
| issuedDate | DateTime | No |
| expiryDate | DateTime | No |
| country | String | No |
| region | String | No |
| city | String | No |
| address | String | No |
| registration | String | No |
| district | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | No |
| dateOfBirth | DateTime | No |
| gender | Gender | No |
| passportSeries | String | No |
| passportNumber | String | No |
| issuedBy | String | No |
| issuedDate | DateTime | No |
| expiryDate | DateTime | No |
| country | String | No |
| region | String | No |
| city | String | No |
| address | String | No |
| registration | String | No |
| district | String | No |
| Name | Type | Nullable |
|---|---|---|
| users | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| name | Int | Yes |
| description | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| description | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| userId | Int | Yes |
| phone | Int | Yes |
| note | Int | Yes |
| isPrimary | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| phone | String | No |
| note | String | No |
| isPrimary | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| userId | String | No |
| phone | String | No |
| note | String | No |
| isPrimary | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| userId | Int | Yes |
| role | Int | Yes |
| position | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| role | OrgUserRole | No |
| position | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| role | OrgUserRole | No |
| position | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| product_instances | Int | Yes |
| payments | Int | Yes |
| transactions | Int | Yes |
| sales | Int | Yes |
| purchases | Int | Yes |
| installments | Int | Yes |
| documents | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| userId | Int | Yes |
| firstName | Int | Yes |
| lastName | Int | Yes |
| patronymic | Int | Yes |
| phone | Int | Yes |
| type | Int | Yes |
| isBlacklisted | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | No |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| firstName | String | No |
| lastName | String | No |
| patronymic | String | No |
| phone | String | No |
| type | CustomerType | No |
| isBlacklisted | Boolean | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| products | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| name | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| categories | Int | Yes |
| prices | Int | Yes |
| instances | Int | Yes |
| sele_items | Int | Yes |
| purchase_items | Int | Yes |
| stocks | Int | Yes |
| product_batches | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| name | Int | Yes |
| description | Int | Yes |
| expiry_date | Int | Yes |
| serial_number | Int | Yes |
| barcode | Int | Yes |
| brandId | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | No |
| expiry_date | DateTime | No |
| serial_number | String | No |
| barcode | String | No |
| brandId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| description | String | No |
| expiry_date | DateTime | No |
| serial_number | String | No |
| barcode | String | No |
| brandId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| products | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| name | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| name | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| productId | Int | Yes |
| categoryId | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| productId | String | No |
| categoryId | String | No |
| Name | Type | Nullable |
|---|---|---|
| productId | String | No |
| categoryId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| productId | Int | Yes |
| organizationId | Int | Yes |
| priceType | Int | Yes |
| amount | Int | Yes |
| currencyId | Int | Yes |
| customerType | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| amount | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| amount | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| organizationId | String | No |
| priceType | PriceType | No |
| amount | Decimal | No |
| currencyId | String | No |
| customerType | CustomerType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| organizationId | String | No |
| priceType | PriceType | No |
| amount | Decimal | No |
| currencyId | String | No |
| customerType | CustomerType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| transactions | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| productId | Int | Yes |
| serialNumber | Int | Yes |
| currentOwnerId | Int | Yes |
| currentStatus | Int | Yes |
| organizationId | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| serialNumber | String | No |
| currentOwnerId | String | No |
| currentStatus | ProductStatus | No |
| organizationId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| serialNumber | String | No |
| currentOwnerId | String | No |
| currentStatus | ProductStatus | No |
| organizationId | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| productInstanceId | Int | Yes |
| fromCustomerId | Int | Yes |
| toCustomerId | Int | Yes |
| toOrganizationId | Int | Yes |
| saleId | Int | Yes |
| action | Int | Yes |
| date | Int | Yes |
| description | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productInstanceId | String | No |
| fromCustomerId | String | No |
| toCustomerId | String | No |
| toOrganizationId | String | No |
| saleId | String | No |
| action | ProductAction | No |
| date | DateTime | No |
| description | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productInstanceId | String | No |
| fromCustomerId | String | No |
| toCustomerId | String | No |
| toOrganizationId | String | No |
| saleId | String | No |
| action | ProductAction | No |
| date | DateTime | No |
| description | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| productId | Int | Yes |
| batchNumber | Int | Yes |
| expiryDate | Int | Yes |
| quantity | Int | Yes |
| isValid | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| quantity | Float | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | Int | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| batchNumber | String | No |
| expiryDate | DateTime | No |
| quantity | Int | No |
| isValid | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| productId | String | No |
| batchNumber | String | No |
| expiryDate | DateTime | No |
| quantity | Int | No |
| isValid | Boolean | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| productId | Int | Yes |
| quantity | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| quantity | Float | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | Int | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| productId | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| productId | String | No |
| quantity | Int | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| payments | Int | Yes |
| purchases | Int | Yes |
| sales | Int | Yes |
| outgoing_transfers | Int | Yes |
| incoming_transfers | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| name | Int | Yes |
| type | Int | Yes |
| currencyId | Int | Yes |
| balance | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| balance | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| balance | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| name | String | No |
| type | String | No |
| currencyId | String | No |
| balance | Decimal | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| fromKassaId | Int | Yes |
| toKassaId | Int | Yes |
| fromCurrencyId | Int | Yes |
| toCurrencyId | Int | Yes |
| rate | Int | Yes |
| amount | Int | Yes |
| convertedAmount | Int | Yes |
| description | Int | Yes |
| createdAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | No |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| fromKassaId | String | No |
| toKassaId | String | No |
| fromCurrencyId | String | No |
| toCurrencyId | String | No |
| rate | Decimal | No |
| amount | Decimal | No |
| convertedAmount | Decimal | No |
| description | String | No |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| installment_payments | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| userId | Int | Yes |
| customerId | Int | Yes |
| kassaId | Int | Yes |
| amount | Int | Yes |
| currencyId | Int | Yes |
| type | Int | Yes |
| description | Int | Yes |
| purchaseId | Int | Yes |
| saleId | Int | Yes |
| createdAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| amount | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| amount | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| customerId | String | No |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | No |
| purchaseId | String | No |
| saleId | String | No |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| customerId | String | No |
| kassaId | String | No |
| amount | Decimal | No |
| currencyId | String | No |
| type | PaymentType | No |
| description | String | No |
| purchaseId | String | No |
| saleId | String | No |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| customerId | Int | Yes |
| relatedType | Int | Yes |
| relatedId | Int | Yes |
| date | Int | Yes |
| debit | Int | Yes |
| credit | Int | Yes |
| balanceAfter | Int | Yes |
| currencyId | Int | Yes |
| description | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| currencyId | String | No |
| description | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| relatedType | RelatedType | No |
| relatedId | String | No |
| date | DateTime | No |
| debit | Decimal | No |
| credit | Decimal | No |
| balanceAfter | Decimal | No |
| currencyId | String | No |
| description | String | No |
| Name | Type | Nullable |
|---|---|---|
| items | Int | Yes |
| payments | Int | Yes |
| installments | Int | Yes |
| documents | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| customerId | Int | Yes |
| responsibleId | Int | Yes |
| kassaId | Int | Yes |
| invoiceNumber | Int | Yes |
| saleDate | Int | Yes |
| totalAmount | Int | Yes |
| paidAmount | Int | Yes |
| currencyId | Int | Yes |
| status | Int | Yes |
| notes | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| responsibleId | String | No |
| kassaId | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| responsibleId | String | No |
| kassaId | String | No |
| invoiceNumber | String | No |
| saleDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | SaleStatus | No |
| notes | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| saleId | Int | Yes |
| productId | Int | Yes |
| quantity | Int | Yes |
| price | Int | Yes |
| total | Int | Yes |
| currencyId | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| quantity | Float | No |
| price | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| currencyId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| total | Decimal | No |
| currencyId | String | No |
| Name | Type | Nullable |
|---|---|---|
| items | Int | Yes |
| payments | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| supplierId | Int | Yes |
| responsibleId | Int | Yes |
| kassaId | Int | Yes |
| invoiceNumber | Int | Yes |
| purchaseDate | Int | Yes |
| totalAmount | Int | Yes |
| paidAmount | Int | Yes |
| currencyId | Int | Yes |
| status | Int | Yes |
| notes | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | No |
| kassaId | String | No |
| invoiceNumber | String | No |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| supplierId | String | No |
| responsibleId | String | No |
| kassaId | String | No |
| invoiceNumber | String | No |
| purchaseDate | DateTime | No |
| totalAmount | Decimal | No |
| paidAmount | Decimal | No |
| currencyId | String | No |
| status | PurchaseStatus | No |
| notes | String | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| purchaseId | Int | Yes |
| productId | Int | Yes |
| quantity | Int | Yes |
| price | Int | Yes |
| discount | Int | Yes |
| total | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| quantity | Float | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| purchaseId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| purchaseId | String | No |
| productId | String | No |
| quantity | Int | No |
| price | Decimal | No |
| discount | Decimal | No |
| total | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| payments | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| saleId | Int | Yes |
| customerId | Int | Yes |
| totalAmount | Int | Yes |
| initialPayment | Int | Yes |
| paidAmount | Int | Yes |
| remaining | Int | Yes |
| totalMonths | Int | Yes |
| monthsLeft | Int | Yes |
| monthlyPayment | Int | Yes |
| dueDate | Int | Yes |
| status | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Float | No |
| monthsLeft | Float | No |
| monthlyPayment | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| customerId | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| saleId | String | No |
| customerId | String | No |
| totalAmount | Decimal | No |
| initialPayment | Decimal | No |
| paidAmount | Decimal | No |
| remaining | Decimal | No |
| totalMonths | Int | No |
| monthsLeft | Int | No |
| monthlyPayment | Decimal | No |
| dueDate | DateTime | No |
| status | InstallmentStatus | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| installmentId | Int | Yes |
| amount | Int | Yes |
| paidAt | Int | Yes |
| paymentMethod | Int | Yes |
| note | Int | Yes |
| createdById | Int | Yes |
| paymentId | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| amount | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| amount | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| installmentId | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | No |
| note | String | No |
| createdById | String | No |
| paymentId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| installmentId | String | No |
| amount | Decimal | No |
| paidAt | DateTime | No |
| paymentMethod | String | No |
| note | String | No |
| createdById | String | No |
| paymentId | String | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| customerId | Int | Yes |
| saleId | Int | Yes |
| type | Int | Yes |
| fileUrl | Int | Yes |
| uploadedById | Int | Yes |
| createdAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| saleId | String | No |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | No |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| customerId | String | No |
| saleId | String | No |
| type | DocumentType | No |
| fileUrl | String | No |
| uploadedById | String | No |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| baseCurrencyId | Int | Yes |
| language | Int | Yes |
| dateFormat | Int | Yes |
| enableInstallment | Int | Yes |
| enableNotifications | Int | Yes |
| enableAutoRateUpdate | Int | Yes |
| taxPercent | Int | Yes |
| logoUrl | Int | Yes |
| theme | Int | Yes |
| createdAt | Int | Yes |
| updatedAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| taxPercent | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| taxPercent | Decimal | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| baseCurrencyId | String | No |
| language | String | No |
| dateFormat | String | No |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | No |
| logoUrl | String | No |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| baseCurrencyId | String | No |
| language | String | No |
| dateFormat | String | No |
| enableInstallment | Boolean | No |
| enableNotifications | Boolean | No |
| enableAutoRateUpdate | Boolean | No |
| taxPercent | Decimal | No |
| logoUrl | String | No |
| theme | ThemeType | No |
| createdAt | DateTime | No |
| updatedAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | Int | Yes |
| organizationId | Int | Yes |
| userId | Int | Yes |
| action | Int | Yes |
| entity | Int | Yes |
| entityId | Int | Yes |
| oldValue | Int | Yes |
| newValue | Int | Yes |
| note | Int | Yes |
| createdAt | Int | Yes |
| _all | Int | Yes |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| action | String | No |
| entity | String | No |
| entityId | String | No |
| note | String | No |
| createdAt | DateTime | No |
| Name | Type | Nullable |
|---|---|---|
| id | String | No |
| organizationId | String | No |
| userId | String | No |
| action | String | No |
| entity | String | No |
| entityId | String | No |
| note | String | No |
| createdAt | DateTime | No |